Package com.firebase.ui.auth.data.model
Class User
- java.lang.Object
-
- com.firebase.ui.auth.data.model.User
-
- All Implemented Interfaces:
Parcelable
public class User extends Object implements Parcelable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
User.Builder
-
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static Parcelable.Creator<User>
CREATOR
-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
boolean
equals(Object o)
String
getEmail()
String
getName()
String
getPhoneNumber()
Uri
getPhotoUri()
String
getProviderId()
static User
getUser(Intent intent)
static User
getUser(Bundle arguments)
int
hashCode()
String
toString()
void
writeToParcel(Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final Parcelable.Creator<User> CREATOR
-
-
Method Detail
-
getProviderId
@NonNull public String getProviderId()
-
getEmail
@Nullable public String getEmail()
-
getPhoneNumber
@Nullable public String getPhoneNumber()
-
getName
@Nullable public String getName()
-
getPhotoUri
@Nullable public Uri getPhotoUri()
-
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceParcelable
-
writeToParcel
public void writeToParcel(@NonNull Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceParcelable
-
-