public enum CallType extends Enum<CallType> implements Serializable
Enum Constant and Description |
---|
INCOMING_CALL |
MISSED_CALL |
OUTGOING_CALL |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static CallType |
fromInteger(int x)
Creates a call type object from the given value.
|
int |
getValue()
Returns the value of the CallType the FritzBox is working with.
|
static CallType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CallType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CallType INCOMING_CALL
public static final CallType MISSED_CALL
public static final CallType UNKNOWN
public static final CallType OUTGOING_CALL
public static CallType[] values()
for (CallType c : CallType.values()) System.out.println(c);
public static CallType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static CallType fromInteger(int x)
x
- The value to create a CallType for.Copyright © 2018 BITPlan GmbH. All rights reserved.