public enum DeviceProfile extends java.lang.Enum<DeviceProfile>
Modifier and Type | Method and Description |
---|---|
static DeviceProfile |
getActiveProfile(int activeProfile) |
int |
getActiveProfileValue() |
static java.util.List<DeviceProfile> |
readFromParcel(Parcel in) |
static DeviceProfile |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceProfile[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static void |
writeToParcel(Parcel dest,
java.util.List<DeviceProfile> deviceProfiles) |
public static final DeviceProfile IBEACON
public static final DeviceProfile EDDYSTONE
public static DeviceProfile[] values()
for (DeviceProfile c : DeviceProfile.values()) System.out.println(c);
public static DeviceProfile valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getActiveProfileValue()
public static void writeToParcel(Parcel dest, java.util.List<DeviceProfile> deviceProfiles)
public static java.util.List<DeviceProfile> readFromParcel(Parcel in)
public static DeviceProfile getActiveProfile(int activeProfile)