success = ble.removeStateListener(callback)
Removes a registered Bluetooth ® LE state-change listener callback which was previously registered by calling addStateListener.
Parameter |
Type |
Description |
---|---|---|
callback |
in function |
The callback previously registered by calling addStateListener |
success |
out boolean |
True if successful, otherwise false if specified listener was never added |
Introduced in platform.apiLevel = '2.5'