FirebaseRemoteConfig Framework Reference Stay organized with collections Save and categorize content based on your preferences.
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
statusConfig fetching status.
errorError message on failure.
Completion handler invoked by activate method upon completion.
Declaration
Objective-C
typedefvoid(^FIRRemoteConfigActivateCompletion)(NSError*_Nullable)Parameters
errorError 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
initializationErrornil 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
statusConfig fetching status.
errorError message on failure of config fetch
Completion handler invoked by
addOnConfigUpdateListenerwhen there is an update tothe config from the backend.Declaration
Objective-C
typedefvoid(^FIRRemoteConfigUpdateCompletion)(FIRRemoteConfigUpdate*_Nullable,NSError*_Nullable)Parameters
configUpdateAn instance of
FIRRemoteConfigUpdatethat contains information on whichkey’s values have changed.errorError 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.