# BLEPeripheralServer.onCharacteristicSubscribed(function callback)
Start from base library version 2.13.0. Please remaining backward compatible.
with Promise style call: Not supported
Mini Program plugin: Not supported
Listen for feature subscription events, only iOS Support.
# parameter
# function callback
Callback function for characteristic subscription events
# parameter
# Object res
attribute | type | Introductions |
---|---|---|
serviceId | String | Bluetooth Feature Corresponding Service UUID |
characteristicId | String | Bluetooth characteristic UUID |