Skip to content

//MLBluetoothSDK/com.masterlock.mlbluetoothsdk/MLProduct/lockReset

lockReset

[androidJvm]\ open fun lockReset(callback: MLCommandCallback<String>)

For supported locks/customers, completing a Lock Reset will reset the device’s Primary Code and invalid all previously requested temporary access codes. Upon completion, you will need to request an updated device access profile from the Master Lock Connected Products API. Cannot be completed offline, or when device or phone battery is less than 10%

Parameters

androidJvm

callback result of "Success" or error will be a FactoryResetException

Throws

MLSDKNotInitializedException if SDK not initialized
MLCommandNotAllowedError if feature is blocked by license