Class ProfileMerger

  • All Implemented Interfaces:
    com.google.android.gms.tasks.Continuation<com.google.firebase.auth.AuthResult,​com.google.android.gms.tasks.Task<com.google.firebase.auth.AuthResult>>

    public class ProfileMerger
    extends Object
    implements com.google.android.gms.tasks.Continuation<com.google.firebase.auth.AuthResult,​com.google.android.gms.tasks.Task<com.google.firebase.auth.AuthResult>>
    Merges an existing account's profile with the new user's profile.

    Note: This operation always returns a successful task to minimize login interruptions.

    • Constructor Detail

      • ProfileMerger

        public ProfileMerger​(IdpResponse response)
    • Method Detail

      • then

        public com.google.android.gms.tasks.Task<com.google.firebase.auth.AuthResult> then​(@NonNull
                                                                                           com.google.android.gms.tasks.Task<com.google.firebase.auth.AuthResult> task)
        Specified by:
        then in interface com.google.android.gms.tasks.Continuation<com.google.firebase.auth.AuthResult,​com.google.android.gms.tasks.Task<com.google.firebase.auth.AuthResult>>