DocumentSnapshot.ServerTimestampBehavior

public static final enum DocumentSnapshot.ServerTimestampBehavior extends Enum<DocumentSnapshot.ServerTimestampBehavior>

Controls the return value for server timestamps that have not yet been set to their final value.

Inherited Method Summary

Enum Values

public static final DocumentSnapshot.ServerTimestampBehavior ESTIMATE

Return local estimates for ServerTimestamps that have not yet been set to their final value. This estimate will likely differ from the final value and may cause these pending values to change once the server result becomes available.

public static final DocumentSnapshot.ServerTimestampBehavior NONE

Return 'null' for ServerTimestamps that have not yet been set to their final value.

public static final DocumentSnapshot.ServerTimestampBehavior PREVIOUS

Return the previous value for ServerTimestamps that have not yet been set to their final value.

Send feedback about...

Need help? Visit our support page.