Z T Base Product
abstract class ZTBaseProduct
Content copied to clipboard
This class must be inherited by a SDK kit. All operations on Zhortech product are done trough this class, based on our internal communication protocol. The class handles messages from the device, parse them, treat them and returns the message to an enqueued command if needed.
Author
Alexandre Lemoult <a.lemoult@zhortech.com>
Constructors
ZTBaseProduct
Link copied to clipboard
fun ZTBaseProduct()
Content copied to clipboard
Functions
addActivityData
Link copied to clipboard
bindToConnection
Link copied to clipboard
checkFirmwareUpdate
Link copied to clipboard
createRestService
Link copied to clipboard
disconnect
Link copied to clipboard
fun disconnect()
Content copied to clipboard
doOnReady
Link copied to clipboard
forceStopActivity
Link copied to clipboard
getDeviceIdentifier
Link copied to clipboard
getSegmentDuration
Link copied to clipboard
observeRestoredActivity
Link copied to clipboard
observeStateChanges
Link copied to clipboard
onIndicateData
Link copied to clipboard
onNotifyData
Link copied to clipboard
readBattery
Link copied to clipboard
readFirmwareVersion
Link copied to clipboard
readHardwareVersion
Link copied to clipboard
readPairedDevice
Link copied to clipboard
readSerialNumber
Link copied to clipboard
requestConnectionPriority
Link copied to clipboard
fun requestConnectionPriority(connectionPriority: ZTBleConnection.ConnectionPriority): Completable
Content copied to clipboard
startActivityWithAttributes
Link copied to clipboard
fun startActivityWithAttributes(attributes: ZTSerializable? = null): Completable
Content copied to clipboard
stopActivity
Link copied to clipboard
Properties
connection
Link copied to clipboard
connectionState
Link copied to clipboard
information
Link copied to clipboard
state
Link copied to clipboard
Inheritors
ZTSegmentedProduct
Link copied to clipboard