public enum AdvertiseMode
- Object
- Enum<AdvertiseMode>
- AdvertiseMode
ImplementsComparable<AdvertiseMode>
Advertising-interval trade-off, mirroring Android’s advertise modes.
Platforms without the control (iOS) treat it as a hint.
Enum constants
LOW_POWER | Long advertising interval; lowest power, slowest discovery by centrals. |
BALANCED | The default balance. |
LOW_LATENCY | Short advertising interval for the fastest discovery; highest power draw. |
Methods
public static AdvertiseMode[] values() | |
public static AdvertiseMode valueOf(String name) |
Inherited methods
Enum constant details
LOW_POWER
LOW_POWERLong advertising interval; lowest power, slowest discovery by
centrals.
BALANCED
BALANCEDThe default balance.
LOW_LATENCY
LOW_LATENCYShort advertising interval for the fastest discovery; highest
power draw.
Method details
values
public static AdvertiseMode[] values()valueOf
public static AdvertiseMode valueOf(String name)