ttlock library

Classes

TTCycleModel
TTGatewayScanModel
TTLock
TTLockScanModel
TTNbAwakeTimeModel
TTResponse

Enums

TTBluetoothState
TTControlAction
TTGatewayConnectStatus
TTGatewayError
TTLiftWorkActivateType
TTLockConfig
TTLockError
TTLockFuction
TTLockReuslt
TTLockSwitchState
TTNbAwakeMode
TTNbAwakeTimeType
TTOperateRecordType
TTPassageModeType
TTPowerSaverWorkType

Typedefs

TTAddCardCallback = void Function(String cardNumber)
TTAddCardProgressCallback = void Function()
TTAddFingerprintCallback = void Function(String fingerprintNumber)
TTAddFingerprintProgressCallback = void Function(int currentCount, int totalCount)
TTBluetoothScanStateCallback = void Function(bool isScanning)
TTBluetoothStateCallback = void Function(TTBluetoothState state)
TTControlLockCallback = void Function(int lockTime, int electricQuantity, int uniqueId)
TTFailedCallback = void Function(TTLockError errorCode, String errorMsg)
TTFunctionSupportCallback = void Function(bool isSupport)
TTGatewayConnectCallback = void Function(TTGatewayConnectStatus status)
TTGatewayDisconnectCallback = void Function()
TTGatewayFailedCallback = void Function(TTGatewayError errorCode, String errorMsg)
TTGatewayGetAroundWifiCallback = void Function(bool finished, List wifiList)
TTGatewayInitCallback = void Function(Map map)
TTGatewayScanCallback = void Function(TTGatewayScanModel scanModel)
TTGetAdminPasscodeCallback = void Function(String adminPasscode)
TTGetAllCardsCallback = void Function(List cardList)
TTGetAllFingerprintsCallback = void Function(List fingerprintList)
TTGetAllPasscodeCallback = void Function(List passcodeList)
TTGetLockAutomaticLockingPeriodicTimeCallback = void Function(int currentTime, int minTime, int maxTime)
TTGetLockElectricQuantityCallback = void Function(int electricQuantity)
TTGetLockOperateRecordCallback = void Function(String records)
TTGetLockPasscodeDataCallback = void Function(String passcodeData)
TTGetLockSpecialValueCallback = void Function(int specialValue)
TTGetLockStatusCallback = void Function(TTLockSwitchState state)
TTGetLockTimeCallback = void Function(int timestamp)
TTGetNbAwakeModesCallback = void Function(List<TTNbAwakeMode> list)
TTGetNbAwakeTimesCallback = void Function(List<TTNbAwakeTimeModel> list)
TTGetSwitchStateCallback = void Function(bool isOn)
TTLiftCallback = void Function(int lockTime, int electricQuantity, int uniqueId)
TTLockDataCallback = void Function(String lockData)
TTLockScanCallback = void Function(TTLockScanModel scanModel)
TTSuccessCallback = void Function()