public interface FirestoreConstructable<T>
FirebaseManager for more information on retrieving Firestore document dictionaries.| Modifier and Type | Interface and Description |
|---|---|
static class |
FirestoreConstructable.InitialisationFailed
The exception to throw when the initialisation of a
FirestoreConstructable object fails. |
| Modifier and Type | Method and Description |
|---|---|
T |
initFromFirebase(java.util.Map<java.lang.String,java.lang.Object> firestoreDictionary,
java.lang.String documentIdentifier)
Constructs the object from a Firestore document dictionary.
|
T initFromFirebase(java.util.Map<java.lang.String,java.lang.Object> firestoreDictionary, java.lang.String documentIdentifier) throws FirestoreConstructable.InitialisationFailed
firestoreDictionary - The Firestore document dictionary.documentIdentifier - The identifier of the Firestore document.FirestoreConstructable.InitialisationFailed