rn-mtbeaconplus
Version:
A React Native module for supporting iOS and Android MTBeaconPlus devices. The MTBeaconPlus is a versatile Bluetooth Low Energy (BLE) beacon designed for indoor positioning and asset tracking. It offers high accuracy, long battery life, and easy integrati
33 lines (31 loc) • 744 B
JavaScript
// @flow
/**
* Device Bluetooth Low Energy state.
*/
export const State = {
/**
* The current state of the manager is unknown; an update is imminent.
*/
Unknown: 'UNKNOWN',
/**
* The connection with the system service was momentarily lost; an update is imminent.
*/
Resetting: 'RESETTING',
/**
* The platform does not support Bluetooth low energy.
*/
Unsupported: 'UNSUPPORTED',
/**
* The app is not authorized to use Bluetooth low energy.
*/
Unauthorized: 'UNAUTHORIZED',
/**
* Bluetooth is currently powered off.
*/
PoweredOff: 'POWERED_OFF',
/**
* Bluetooth is currently powered on and available to use.
*/
PoweredOn: 'POWERED_ON'
}