subscribe
Attempts to subscribe to the characteristic.
Return
SubscriptionResult.DidSubscribe if subscription was successful, or SubscriptionResult.FailedToSubscribe if subscription failed.
Parameters
called when the ByteArray value of the characteristic changes.
Attempts to subscribe to the characteristic.
Return
SubscriptionResult.DidSubscribe if subscription was successful, or SubscriptionResult.FailedToSubscribe if subscription failed.
Parameters
the DeserializationStrategy to use to decode the ByteArray value of the characteristic.
the BluetoothFormat to use to decode the ByteArray value of the characteristic.
called when the T value of the characteristic changes.
Type Parameters
the type of the value to be decoded from the ByteArray value of the characteristic.
Attempts to subscribe to the characteristic.
Return
SubscriptionResult.DidSubscribe if subscription was successful, or SubscriptionResult.FailedToSubscribe if subscription failed.
Parameters
the BluetoothFormat to use to decode the ByteArray value of the characteristic.
called when the T value of the characteristic changes.
Type Parameters
the type of the value to be decoded from the ByteArray value of the characteristic.