FirebaseUserMetadata

public interfaceFirebaseUserMetadata extendsParcelable


Holds the user metadata for the currentFirebaseUser

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

Fromandroid.os.Parcelable
default static final int
default static final int

Inherited methods

Fromandroid.os.Parcelable
abstract 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.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-21 UTC.