ZTCharacteristicSubscription

class ZTCharacteristicSubscription<T>(characteristic: ZTCharacteristic, device: ZTDevice)

ZTCharacteristicSubscription

Author

Alexandre Lemoult <a.lemoult@zhortech.com>

Constructors

ZTCharacteristicSubscription
Link copied to clipboard
fun ZTCharacteristicSubscription(characteristic: ZTCharacteristic, device: ZTDevice)

Functions

filterMessage
Link copied to clipboard
fun filterMessage(messageFilter: Byte): ZTCharacteristicSubscription<T>
getObservable
Link copied to clipboard
fun getObservable(): Observable<T>
getSetupSubject
Link copied to clipboard
fun getSetupSubject(): Completable
setMessageParser
Link copied to clipboard
fun setMessageParser(messageParser: ZTMessageParser): ZTCharacteristicSubscription<T>
setOutputClass
Link copied to clipboard
fun setOutputClass(clazz: Class<*>): ZTCharacteristicSubscription<T>