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.

发送以下问题的反馈:

此网页
需要帮助?请访问我们的支持页面