An enum that configures the behavior of DocumentReference.getDocument() and
Query.getDocuments(). By providing a source enum the getDocument[s]
methods can be configured to fetch results only from the server, only from
the local cache, or attempt to fetch results from the server and fall back to
the cache (which is the default).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-11 UTC."],[],[],null,["Enumerations\n\nThe following enumerations are available globally.\n- `\n ``\n ``\n `\n\n [FIRAggregateSource](/docs/reference/ios/firebasefirestore/api/reference/Enums/FIRAggregateSource)`\n ` \n The sources from which an `AggregateQuery` can retrieve its results.\n\n See `AggregateQuery.getAggregation(source:completion:)`. \n\n Declaration \n Objective-C \n\n enum FIRAggregateSource : NSUInteger {}\n\n- `\n ``\n ``\n `\n\n [FIRDocumentChangeType](/docs/reference/ios/firebasefirestore/api/reference/Enums/FIRDocumentChangeType)`\n ` \n An enumeration of document change types. \n\n Declaration \n Objective-C \n\n enum FIRDocumentChangeType : NSInteger {}\n\n- `\n ``\n ``\n `\n\n [FIRServerTimestampBehavior](/docs/reference/ios/firebasefirestore/api/reference/Enums/FIRServerTimestampBehavior)`\n ` \n Controls the return value for server timestamps that have not yet been set to\n their final value. \n\n Declaration \n Objective-C \n\n enum FIRServerTimestampBehavior : NSInteger {}\n\n- `\n ``\n ``\n `\n\n [FIRFirestoreErrorCode](/docs/reference/ios/firebasefirestore/api/reference/Enums/FIRFirestoreErrorCode)`\n ` \n Error codes used by Cloud Firestore. \n\n Declaration \n Objective-C \n\n enum FIRFirestoreErrorCode : NSInteger {}\n\n- `\n ``\n ``\n `\n\n [FIRFirestoreSource](/docs/reference/ios/firebasefirestore/api/reference/Enums/FIRFirestoreSource)`\n ` \n An enum that configures the behavior of `DocumentReference.getDocument()` and\n `Query.getDocuments()`. By providing a source enum the `getDocument[s]`\n methods can be configured to fetch results only from the server, only from\n the local cache, or attempt to fetch results from the server and fall back to\n the cache (which is the default). \n\n Declaration \n Objective-C \n\n enum FIRFirestoreSource : NSUInteger {}\n\n- `\n ``\n ``\n `\n\n [FIRLoadBundleTaskState](/docs/reference/ios/firebasefirestore/api/reference/Enums/FIRLoadBundleTaskState)`\n ` \n Represents the state of bundle loading tasks.\n\n Both `error` and `inProgress` are final states: the task will be in either an aborted or\n completed state and there will be no more subsequent updates. \n\n Declaration \n Objective-C \n\n enum FIRLoadBundleTaskState : NSInteger {}\n\n- `\n ``\n ``\n `\n\n [FIRListenSource](/docs/reference/ios/firebasefirestore/api/reference/Enums/FIRListenSource)`\n ` \n The source the snapshot listener retrieves data from. \n\n Declaration \n Objective-C \n\n enum FIRListenSource : NSUInteger {}"]]