Event map for Central class. This is the list of supported events where the property name is the event name and the property type the event data type.

interface CentralEventMap {
    bluetoothState: {
        state: BluetoothState;
    };
    scanStatus: {
        status: ScanStatus;
    };
}

Properties

bluetoothState: {
    state: BluetoothState;
}

Type declaration

scanStatus: {
    status: ScanStatus;
}

Type declaration

Generated using TypeDoc