FirebaseRemoteConfig Framework Reference

Type Definitions

The following type definitions are available globally.

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

    Declaration

    Objective-C

    typedefvoid(^FIRRemoteConfigFetchCompletion)(FIRRemoteConfigFetchStatus,NSError*_Nullable)

    Parameters

    status

    Config fetching status.

    error

    Error message on failure.

  • Completion handler invoked by activate method upon completion.

    Declaration

    Objective-C

    typedefvoid(^FIRRemoteConfigActivateCompletion)(NSError*_Nullable)

    Parameters

    error

    Error message on failure. Nil if activation was successful.

  • Completion handler invoked upon completion of Remote Config initialization.

    Declaration

    Objective-C

    typedefvoid(^FIRRemoteConfigInitializationCompletion)(NSError*_Nullable)

    Parameters

    initializationError

    nil if initialization succeeded.

  • Completion handler invoked by the fetchAndActivate method. Used to convey status of fetch and,if successful, resultant activate call

    Declaration

    Objective-C

    typedefvoid(^FIRRemoteConfigFetchAndActivateCompletion)(FIRRemoteConfigFetchAndActivateStatus,NSError*_Nullable)

    Parameters

    status

    Config fetching status.

    error

    Error message on failure of config fetch

  • Completion handler invoked byaddOnConfigUpdateListener when there is an update tothe config from the backend.

    Declaration

    Objective-C

    typedefvoid(^FIRRemoteConfigUpdateCompletion)(FIRRemoteConfigUpdate*_Nullable,NSError*_Nullable)

    Parameters

    configUpdate

    An instance ofFIRRemoteConfigUpdate that contains information on whichkey’s values have changed.

    error

    Error message on failure.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-03-11 UTC.