DeviceMetaData | Doclava
public class

DeviceMetaData

extends Object
implements Parcelable
java.lang.Object
   ↳ com.google.android.gms.auth.api.accounttransfer.DeviceMetaData

Class Overview

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

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

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.

Returns
long

public boolean isChallengeAllowed ()

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

Returns
boolean

public boolean isLockScreenSolved ()

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

Returns
boolean