public class

UserMetadata

extends Object
java.lang.Object
   ↳ com.google.firebase.auth.UserMetadata

Class Overview

Contains additional metadata associated with a user account.

Summary

Public Methods
long getCreationTimestamp()
Returns the time at which the account was created.
long getLastSignInTimestamp()
Returns the time at which the user last signed in.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public long getCreationTimestamp ()

Returns the time at which the account was created.

Returns
  • Milliseconds since epoch timestamp.

public long getLastSignInTimestamp ()

Returns the time at which the user last signed in.

Returns
  • Milliseconds since epoch timestamp, or 0 if the user has never signed in.