Skip to content

//MLBluetoothSDK/com.masterlock.mlbluetoothsdk.Interfaces/IMLProductDelegate/didChangeState

didChangeState

[androidJvm]\ abstract fun didChangeState(product: MLProduct, newState: MLBroadcastState)

Tells the delegate that the product’s state changed SDK will broadcast MLBroadcastState.awake at 1 second intervals while a session with the lock is open MLBroadcastState.asleep when a session has ended MLBroadcastState.firmwareUpdate when a session is in bootloader mode

Parameters

androidJvm

product The MLProduct that changed
newState The new state the lock is in