//MLBluetoothSDK/com.masterlock.mlbluetoothsdk/MLProduct/setAccessProfile
setAccessProfile¶
[androidJvm]\ fun setAccessProfile(accessProfile: String, expectedFirmwareVersion: Int)
Assign a new Access Profile and expected firmware version to this MLProduct. Note that setting a new access profile while the sdk is in a session with a lock will cause bluetooth communication to fail and the session to end.
Parameters¶
androidJvm
| accessProfile | the new Access Profile |
| expectedFirmwareVersion | The firmware version you are expecting this product to have |
[androidJvm]\ fun setAccessProfile(accessProfile: String)
Assign a new Access Profile to this MLProduct. Note that setting a new access profile while the sdk is in a session with a lock will cause bluetooth communication to fail and the session to end.
Parameters¶
androidJvm
| accessProfile | the new Access Profile |