ws1-client-sdk/com.airwatch.sdk.profile/PasscodePolicy/getMaxPasscodeAge
getMaxPasscodeAge¶
open fun getMaxPasscodeAge(): Int
Provides the maximum passcode age configured in the WS1 UEM Console, after which the user is prompted to change their passcode.
This value is only meaningful when isPasscodeRequired returns true. When passcode is not required or the value has not been set, -1 is returned.
Return¶
Maximum passcode age in days, or -1 if not set.