Skip to content

//MLBluetoothSDK/com.masterlock.mlbluetoothsdk.enums/TimeManagementStrategy

TimeManagementStrategy

[androidJvm]\ enum TimeManagementStrategy

The business logic used before updating a lock’s time

Entries

TrustUserTime [androidJvm]
TrustUserTime
If Access profile has write time permission, always trust the time of the phone when correcting a lock’s clock
RequiresTrustedTime [androidJvm]
RequiresTrustedTime
If Access profile has write time permission, verify that phone time is close to a trusted online time source before correcting a lock’s clock
RequiresTrustedTimeIfOnline [androidJvm]
RequiresTrustedTimeIfOnline
If Access profile has write time permission, and the phone has internet access, verify that phone time is within 4 minutes of a trusted time source before correcting a lock’s clock
DoNotWrite [androidJvm]
DoNotWrite
Never write new time to a lock

Functions

Name Summary
valueOf [androidJvm]
open fun valueOf(name: String): TimeManagementStrategy
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values [androidJvm]
open fun values(): Array<TimeManagementStrategy>
Returns an array containing the constants of this enum type, in the order they’re declared. This method may be used to iterate over the constants.