public class

RecoveryDecision

extends Object
implements Parcelable
java.lang.Object
   ↳ com.google.android.gms.auth.RecoveryDecision

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final RecoveryDecisionCreator CREATOR
public boolean isRecoveryInfoNeeded Is true if either the account has no recovery information or it was updated long time back (controlled by server, default 1 year).
public boolean isRecoveryInterstitialAllowed Is true iff the user has permission to update the account.
public PendingIntent recoveryIntent A PendingIntent to an activity that gathers recovery information for the given account.
public PendingIntent recoveryIntentWithoutIntro A PendingIntent to an activity that gathers recovery information for the given account.
public boolean showRecoveryInterstitial Represents the decision and should be obeyed by the client.
Public Constructors
RecoveryDecision()
Public Methods
int describeContents()
int getVersionCode()
void writeToParcel(Parcel out, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final RecoveryDecisionCreator CREATOR

public boolean isRecoveryInfoNeeded

Is true if either the account has no recovery information or it was updated long time back (controlled by server, default 1 year).

public boolean isRecoveryInterstitialAllowed

Is true iff the user has permission to update the account. Dasher accounts can have recovery information edit disabled by the administrator. Eg: @google.com

public PendingIntent recoveryIntent

A PendingIntent to an activity that gathers recovery information for the given account. This intent will be null iff isRecoveryInterstitialAllowed is false.

public PendingIntent recoveryIntentWithoutIntro

A PendingIntent to an activity that gathers recovery information for the given account. This intent will be null iff isRecoveryInterstitialAllowed is false. This intent directly skips to the input activity without showing the intro message.

public boolean showRecoveryInterstitial

Represents the decision and should be obeyed by the client. The remaining two flags are provided as additional information for one off decisions. This value is true iff isRecoveryInfoNeeded is true, isRecoveryInterstitialAllowed is true and a specified period (controlled by server, default 2 months) has passed since the user was shown a prompt for recovery information on any google property (Android, Web, etc.)

Public Constructors

public RecoveryDecision ()

Public Methods

public int describeContents ()

public int getVersionCode ()

public void writeToParcel (Parcel out, int flags)