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 java.lang.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.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.android.gms.tasks.Task<com.google.firebase.auth.AuthResult> then​(com.google.android.gms.tasks.Task<com.google.firebase.auth.AuthResult> task)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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>>