Package com.relaypro.sdk.types
Enum DeviceInfoQueryType
- java.lang.Object
-
- java.lang.Enum<DeviceInfoQueryType>
-
- com.relaypro.sdk.types.DeviceInfoQueryType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DeviceInfoQueryType>
public enum DeviceInfoQueryType extends java.lang.Enum<DeviceInfoQueryType>
Different information you can retrieve on the device through the Relay API calls.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Address
Battery
Id
IndoorLocation
LatLong
LocationEnabled
Name
Type
Username
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
value()
static DeviceInfoQueryType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DeviceInfoQueryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Name
public static final DeviceInfoQueryType Name
-
Id
public static final DeviceInfoQueryType Id
-
Address
public static final DeviceInfoQueryType Address
-
LatLong
public static final DeviceInfoQueryType LatLong
-
IndoorLocation
public static final DeviceInfoQueryType IndoorLocation
-
Battery
public static final DeviceInfoQueryType Battery
-
Type
public static final DeviceInfoQueryType Type
-
Username
public static final DeviceInfoQueryType Username
-
LocationEnabled
public static final DeviceInfoQueryType LocationEnabled
-
-
Method Detail
-
values
public static DeviceInfoQueryType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DeviceInfoQueryType c : DeviceInfoQueryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeviceInfoQueryType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public java.lang.String value()
-
-