Package fr.zhortech.ztcorekit

Types

ZTAppInformation
Link copied to clipboard
data class ZTAppInformation(apiKey: String, apiSecret: String, appId: String?, appType: String?)
ZTAppInformation contains properties of application parameters that will identify it on ztCloud
ZTCore
Link copied to clipboard
object ZTCore
Should be initialized on application startUp with ZTAppInformation and instance of ZTBaseProduct ZTCore provides methods to work with ZT devices.
ZTExposed
Link copied to clipboard
annotation class ZTExposed
ZTApi
ZTPrefsRepository
Link copied to clipboard
class ZTPrefsRepository(storage: ZTPrefStorage)
ZTPrefsRepository
ZTProductCode
Link copied to clipboard
class ZTProductCode
ZTProductCode
ZTSettings
Link copied to clipboard
object ZTSettings
Contains list of configurable settings
ZTSignal
Link copied to clipboard
abstract class ZTSignal<T> : Observable<T>
ZTSignal

Properties

DEVICE_SERIAL_PATTERN
Link copied to clipboard
val DEVICE_SERIAL_PATTERN: String
MAC_ADDRESS_PATTERN
Link copied to clipboard
const val MAC_ADDRESS_PATTERN: String
SHARED_PREFERENCE_API_TOKEN
Link copied to clipboard
const val SHARED_PREFERENCE_API_TOKEN: String
SHARED_PREFERENCE_APP_USER_ID
Link copied to clipboard
const val SHARED_PREFERENCE_APP_USER_ID: String
SHARED_PREFERENCE_LAST_DEVICE_ADDRESS
Link copied to clipboard
const val SHARED_PREFERENCE_LAST_DEVICE_ADDRESS: String
STATUS_FAILED
Link copied to clipboard
const val STATUS_FAILED: String
STATUS_SUCCESS
Link copied to clipboard
const val STATUS_SUCCESS: String