FirebaseFirestoreSwift Framework Reference

Firestore

public extension Firestore
  • Loads a Firestore bundle into the local cache.

    Throws

    Error if the bundle data cannot be parsed.

    Declaration

    Swift

    func loadBundle(_ bundleData: Data) async throws -> LoadBundleTaskProgress

    Parameters

    bundleData

    Data from the bundle to be loaded.

    Return Value

    The final LoadBundleTaskProgress that contains the total number of documents loaded.

  • Loads a Firestore bundle into the local cache.

    Throws

    Error if the bundle stream cannot be parsed.

    Declaration

    Swift

    func loadBundle(_ bundleStream: InputStream) async throws -> LoadBundleTaskProgress

    Parameters

    bundleStream

    An input stream from which the bundle can be read.

    Return Value

    The final LoadBundleTaskProgress that contains the total number of documents loaded.

  • Undocumented

    Declaration

    Swift

    struct Decoder
  • Undocumented

    Declaration

    Swift

    struct Encoder