DeviceMetaData

public class DeviceMetaData extends AbstractSafeParcelable

Contains meta information like source device auth info and whether an authenticator is allowed to throw challenge.

Inherited Constant Summary

Public Method Summary

long
getMinAgeOfLockScreen()
Returns the duration since the lock screen was setup.
boolean
isChallengeAllowed()
Returns if the calling authenticator is allowed to challenge on the device this call is made.
boolean
isLockScreenSolved()
Returns whether the lock screen was solved by user prior to starting the account transfer flow.

Inherited Method Summary

Public Methods

public long getMinAgeOfLockScreen ()

Returns the duration since the lock screen was setup.

Note that this is best effort only and there is no guarantee on the correctness of this information. The actual age of the lock screen is expected to be equal or more than the value returned here.

public boolean isChallengeAllowed ()

Returns if the calling authenticator is allowed to challenge on the device this call is made.

public boolean isLockScreenSolved ()

Returns whether the lock screen was solved by user prior to starting the account transfer flow.