public final class CBCentralManagerState
extends java.lang.Object
Represents the current state of a CBCentralManager.
[@constant] CBCentralManagerStateUnknown State unknown, update imminent. [@constant] CBCentralManagerStateResetting The connection with the system service was momentarily lost, update imminent. [@constant] CBCentralManagerStateUnsupported The platform doesn't support the Bluetooth Low Energy Central/Client role. [@constant] CBCentralManagerStateUnauthorized The application is not authorized to use the Bluetooth Low Energy Central/Client role. [@constant] CBCentralManagerStatePoweredOff Bluetooth is currently powered off. [@constant] CBCentralManagerStatePoweredOn Bluetooth is currently powered on and available to use.
| 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