SnapshotDiff.Type

public static final enum: SnapshotDiff.Type
extends Enum<SnapshotDiff.Type>
java.lang.Object
   ↳ java.lang.Enum<com.google.firebase.firestore.SnapshotDiff.Type>
     ↳ com.google.firebase.firestore.SnapshotDiff.Type

Class Overview

An enumeration of snapshot diff types.

Summary

Enum Values
SnapshotDiff.Type  ADDED  Indicates a new document was added to the set of documents matching the query. 
SnapshotDiff.Type  MODIFIED  Indicates a document within the query was modified. 
SnapshotDiff.Type  REMOVED  Indicates a document within the query was removed (either deleted or no longer matches the query. 
Public Methods
static SnapshotDiff.Type valueOf(String name)
static final Type[] values()
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final SnapshotDiff.Type ADDED

Indicates a new document was added to the set of documents matching the query.

public static final SnapshotDiff.Type MODIFIED

Indicates a document within the query was modified.

public static final SnapshotDiff.Type REMOVED

Indicates a document within the query was removed (either deleted or no longer matches the query.

Public Methods

public static SnapshotDiff.Type valueOf (String name)

Parameters
name String
Returns
SnapshotDiff.Type

public static final Type[] values ()

Returns
Type[]

Send feedback about...

Need help? Visit our support page.