unsubscribe method

void unsubscribe()

Unsubscribes from a Bluetooth characteristic.

This method stops listening for updates for a given characteristic on a specified device.

Implementation

void unsubscribe() {
  return CentralPlatformInterface.instance
      .unsubscribeFromCharacteristic(this);
}