UserMetadata

public class UserMetadata extends Object

Contains additional metadata associated with a user account.

Public Constructor Summary

UserMetadata(long creationTimestamp)
UserMetadata(long creationTimestamp, long lastSignInTimestamp)

Public Method Summary

long
getCreationTimestamp()
Returns the time at which the account was created.
long
getLastSignInTimestamp()
Returns the time at which the user last signed in.

Inherited Method Summary

Public Constructors

public UserMetadata (long creationTimestamp)

public UserMetadata (long creationTimestamp, long lastSignInTimestamp)

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.

Send feedback about...

Need help? Visit our support page.