Class UWBChannelConfig
- java.lang.Object
-
- com.trx.neon.api.neonSettings.model.UWBChannelConfig
-
public final class UWBChannelConfig extends java.lang.ObjectUWBChannelConfig represents all configuration parameters for configuring an UWB-enabled tracking unit
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.IntegerChannelFor CUSTOM UWB Channel Type only, specifies the channel for sharing, otherwise nullUWBChannelTypeChannelTypeUWB Channel Typejava.lang.StringPasswordFor CUSTOM UWB Channel Type only, specifies the password to be set for sharing, otherwise nullUWBShareTypeShareTypeUWB Sharing Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UWBChannelConfigCustom(UWBShareType shareType, int channel, java.lang.String password)Sets up a custom UWB sharing channel which will share with all UWB trackers with the matching channel/passwordjava.lang.StringgetValidationCode()For CUSTOM UWB Channel Type only, when requesting the UWB channel config this will be set with the ValidationCode which is a hash of the passwordstatic UWBChannelConfigOff()disables UWB sharingvoidsetValidationCode(java.lang.String validationCode)static UWBChannelConfigSubscription(UWBShareType shareType)Sets up a subscription UWB sharing channel which will share with all UWB trackers in a subscription
-
-
-
Field Detail
-
ChannelType
public final UWBChannelType ChannelType
UWB Channel Type
-
ShareType
public final UWBShareType ShareType
UWB Sharing Type
-
Channel
public final java.lang.Integer Channel
For CUSTOM UWB Channel Type only, specifies the channel for sharing, otherwise null
-
Password
public final java.lang.String Password
For CUSTOM UWB Channel Type only, specifies the password to be set for sharing, otherwise null
-
-
Method Detail
-
Subscription
public static UWBChannelConfig Subscription(UWBShareType shareType)
Sets up a subscription UWB sharing channel which will share with all UWB trackers in a subscription- Parameters:
shareType- What type of constraint to share with the subscription- Returns:
- An UWBChannelConfig object for a subscription channel
-
Custom
public static UWBChannelConfig Custom(UWBShareType shareType, int channel, java.lang.String password)
Sets up a custom UWB sharing channel which will share with all UWB trackers with the matching channel/password- Parameters:
shareType- What type of constraint to share with the custom channelchannel- Channel number (0-255)password- String password which will produce a validation code for display- Returns:
- An UWBChannelConfig object for a custom channel
-
Off
public static UWBChannelConfig Off()
disables UWB sharing- Returns:
- An UWBChannelConfig object for a no sharing
-
getValidationCode
public java.lang.String getValidationCode()
For CUSTOM UWB Channel Type only, when requesting the UWB channel config this will be set with the ValidationCode which is a hash of the password- Returns:
- The validation code
-
setValidationCode
public void setValidationCode(java.lang.String validationCode)
-
-