FirebaseUserMetadata

public interface FirebaseUserMetadata extends Parcelable


Holds the user metadata for the current FirebaseUser

Summary

Public methods

abstract long

Returns the timestamp at which this account was created as dictated by the server clock in milliseconds since epoch.

abstract long

Returns the last signin timestamp as dictated by the server clock in milliseconds since epoch.

Inherited Constants

From android.os.Parcelable
default static final int
default static final int
default static final int
default static final int

Inherited methods

From android.os.Parcelable
abstract int
default int
abstract void
writeToParcel(Parcel p, int p1)

Public methods

getCreationTimestamp

abstract long getCreationTimestamp()

Returns the timestamp at which this account was created as dictated by the server clock in milliseconds since epoch.

getLastSignInTimestamp

abstract long getLastSignInTimestamp()

Returns the last signin timestamp as dictated by the server clock in milliseconds since epoch. This is only accurate up to a granularity of 2 minutes for consecutive sign-in attempts.