public final class CBManagerState
extends java.lang.Object
Represents the current state of a CBManager.
[@constant] CBManagerStateUnknown State unknown, update imminent. [@constant] CBManagerStateResetting The connection with the system service was momentarily lost, update imminent. [@constant] CBManagerStateUnsupported The platform doesn't support the Bluetooth Low Energy Central/Client role. [@constant] CBManagerStateUnauthorized The application is not authorized to use the Bluetooth Low Energy role. [@constant] CBManagerStatePoweredOff Bluetooth is currently powered off. [@constant] CBManagerStatePoweredOn Bluetooth is currently powered on and available to use.
authorization| Modifier and Type | Field and Description |
|---|---|
static long |
PoweredOff |
static long |
PoweredOn |
static long |
Resetting |
static long |
Unauthorized |
static long |
Unknown |
static long |
Unsupported |
public static final long Unknown
public static final long Resetting
public static final long Unsupported
public static final long Unauthorized
public static final long PoweredOff
public static final long PoweredOn