Enum UWBChannelType
- java.lang.Object
-
- java.lang.Enum<UWBChannelType>
-
- com.trx.neon.api.neonSettings.model.UWBChannelType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UWBChannelType>
public enum UWBChannelType extends java.lang.Enum<UWBChannelType>
UWBChannelType specifies which group will receive constraints shared over the UWB network. IF set to SUBSCRIPTION, anyone logged into the same NEON account will receive constraints. CUSTOM lets you set a channel and password and will only share to other trackers that have the same channel/password. OFF disables UWB sharing.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CUSTOM
lets you set a channel and password and will only share to other trackers that have the same channel/passwordOFF
No constraints will be sharedSUBSCRIPTION
Anyone logged into the same NEON account will receive constraints
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UWBChannelType
fromString(java.lang.String value)
java.lang.String
getValue()
static UWBChannelType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UWBChannelType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFF
public static final UWBChannelType OFF
No constraints will be shared
-
SUBSCRIPTION
public static final UWBChannelType SUBSCRIPTION
Anyone logged into the same NEON account will receive constraints
-
CUSTOM
public static final UWBChannelType CUSTOM
lets you set a channel and password and will only share to other trackers that have the same channel/password
-
-
Method Detail
-
values
public static UWBChannelType[] 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 (UWBChannelType c : UWBChannelType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UWBChannelType 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
-
getValue
public java.lang.String getValue()
-
fromString
public static UWBChannelType fromString(java.lang.String value)
-
-