Type-Definitions

The following type definitions are available globally.

  • Completion handler invoked by fetch methods when they get a response from the server.

    Declaration

    Swift

    typealias RemoteConfigFetchCompletion = (RemoteConfigFetchStatus, Error?) -> Void

    Objective-C

    typedef void (^FIRRemoteConfigFetchCompletion)(FIRRemoteConfigFetchStatus,
                                                   NSError *_Nullable)

    Parameters

    status

    Config fetching status.

    error

    Error message on failure.