Z T Core
object ZTCore
Content copied to clipboard
Should be initialized on application startUp with ZTAppInformation and instance of ZTBaseProduct ZTCore provides methods to work with ZT devices.
Author
Alexandre Lemoult <a.lemoult@zhortech.com>
Functions
clearUserData
Link copied to clipboard
fun clearUserData()
Content copied to clipboard
destroyGracefully
Link copied to clipboard
fun destroyGracefully()
Content copied to clipboard
getAppVersionName
Link copied to clipboard
getLastActivityTime
Link copied to clipboard
getPendingActivitiesCount
Link copied to clipboard
invoke
Link copied to clipboard
operator fun invoke(context: Context, appInfo: ZTAppInformation, product: ZTBaseProduct): ZTCore
Content copied to clipboard
isBluetoothEnabled
Link copied to clipboard
isBluetoothSupported
Link copied to clipboard
isLocationServicesOk
Link copied to clipboard
setBluetoothEnabled
Link copied to clipboard
setLogOptions
Link copied to clipboard
setOrganizationCode
Link copied to clipboard
startService
Link copied to clipboard
Properties
activityManager
Link copied to clipboard
appInfo
Link copied to clipboard
appUserInfo
Link copied to clipboard
bleManager
Link copied to clipboard
connectivityProvider
Link copied to clipboard
prefRepository
Link copied to clipboard
settings
Link copied to clipboard