Enum BLEAdvertSegmentType
- java.lang.Object
-
- java.lang.Enum<BLEAdvertSegmentType>
-
- io.heraldprox.herald.sensor.ble.filter.BLEAdvertSegmentType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BLEAdvertSegmentType>
public enum BLEAdvertSegmentType extends java.lang.Enum<BLEAdvertSegmentType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BLEAdvertSegmentType
typeFor(int code)
static BLEAdvertSegmentType
typeFor(java.lang.String commonName)
static BLEAdvertSegmentType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BLEAdvertSegmentType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
unknown
public static final BLEAdvertSegmentType unknown
-
serviceUUID16IncompleteList
public static final BLEAdvertSegmentType serviceUUID16IncompleteList
-
serviceUUID16CompleteList
public static final BLEAdvertSegmentType serviceUUID16CompleteList
-
serviceUUID32IncompleteList
public static final BLEAdvertSegmentType serviceUUID32IncompleteList
-
serviceUUID32CompleteList
public static final BLEAdvertSegmentType serviceUUID32CompleteList
-
serviceUUID128IncompleteList
public static final BLEAdvertSegmentType serviceUUID128IncompleteList
-
serviceUUID128CompleteList
public static final BLEAdvertSegmentType serviceUUID128CompleteList
-
deviceNameShortened
public static final BLEAdvertSegmentType deviceNameShortened
-
deviceNameComplete
public static final BLEAdvertSegmentType deviceNameComplete
-
txPowerLevel
public static final BLEAdvertSegmentType txPowerLevel
-
deviceClass
public static final BLEAdvertSegmentType deviceClass
-
simplePairingHash
public static final BLEAdvertSegmentType simplePairingHash
-
simplePairingRandomiser
public static final BLEAdvertSegmentType simplePairingRandomiser
-
deviceID
public static final BLEAdvertSegmentType deviceID
-
serviceUUID16Data
public static final BLEAdvertSegmentType serviceUUID16Data
-
meshMessage
public static final BLEAdvertSegmentType meshMessage
-
meshBeacon
public static final BLEAdvertSegmentType meshBeacon
-
bigInfo
public static final BLEAdvertSegmentType bigInfo
-
broadcastCode
public static final BLEAdvertSegmentType broadcastCode
-
manufacturerData
public static final BLEAdvertSegmentType manufacturerData
-
-
Method Detail
-
values
public static BLEAdvertSegmentType[] 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 (BLEAdvertSegmentType c : BLEAdvertSegmentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BLEAdvertSegmentType 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
-
typeFor
@NonNull public static BLEAdvertSegmentType typeFor(int code)
-
typeFor
@NonNull public static BLEAdvertSegmentType typeFor(@NonNull java.lang.String commonName)
-
-