Packagecom.distriqt.extension.firebase.firestore
Classpublic class DocumentChange
InheritanceDocumentChange Inheritance Object



Public Properties
 PropertyDefined By
  changeType : int
DocumentChange
  newIndex : int
DocumentChange
  oldIndex : int
DocumentChange
Public Methods
 MethodDefined By
  
DocumentChange
  
fromObject(data:Object, store:_ReferenceStore):DocumentChange
[static]
DocumentChange
  
DocumentChange
Public Constants
 ConstantDefined By
  ADDED : int = 0
[static] Indicates a new document was added to the set of documents matching the query
DocumentChange
  MODIFIED : int = 1
[static] Indicates a document within the query was modified
DocumentChange
  REMOVED : int = 2
[static] Indicates a document within the query was removed (either deleted or no longer matches the query
DocumentChange
Property Detail
changeTypeproperty
public var changeType:int

newIndexproperty 
public var newIndex:int

oldIndexproperty 
public var oldIndex:int

Constructor Detail
DocumentChange()Constructor
public function DocumentChange()



Method Detail
fromObject()method
public static function fromObject(data:Object, store:_ReferenceStore):DocumentChange

Parameters

data:Object
 
store:_ReferenceStore

Returns
DocumentChange
getDocument()method 
public function getDocument():DocumentSnapshot

Returns
DocumentSnapshot
Constant Detail
ADDEDConstant
public static const ADDED:int = 0

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

MODIFIEDConstant 
public static const MODIFIED:int = 1

Indicates a document within the query was modified

REMOVEDConstant 
public static const REMOVED:int = 2

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