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.
Parameters
status
|
|
error
|
Error message on failure.
|
-
Completion handler invoked by activate method upon completion.
Declaration
Objective-C
typedef void (^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
typedef void (^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
Parameters
status
|
|
error
|
Error message on failure of config fetch
|
-
Completion handler invoked by addOnConfigUpdateListener
when there is an update to
the config from the backend.
Declaration
Objective-C
typedef void (^FIRRemoteConfigUpdateCompletion)(
FIRRemoteConfigUpdate *_Nullable, NSError *_Nullable)
Parameters
configUpdate
|
|
error
|
Error message on failure.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-11 UTC.
[[["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,["# FirebaseRemoteConfig Framework Reference\n\nType Definitions\n================\n\nThe following type definitions are available globally.\n- `\n ``\n ``\n `\n\n ### [FIRRemoteConfigFetchCompletion](#/c:FIRRemoteConfig.h@T@FIRRemoteConfigFetchCompletion)\n\n `\n ` \n Completion handler invoked by fetch methods when they get a response from the server. \n\n #### Declaration\n\n Objective-C \n\n typedef void (^FIRRemoteConfigFetchCompletion)(/docs/reference/ios/firebaseremoteconfig/api/reference/Enums/FIRRemoteConfigFetchStatus,\n NSError *_Nullable)\n\n #### Parameters\n\n |----------------|---------------------------|\n | ` `*status*` ` | Config fetching status. |\n | ` `*error*` ` | Error message on failure. |\n\n- `\n ``\n ``\n `\n\n ### [FIRRemoteConfigActivateCompletion](#/c:FIRRemoteConfig.h@T@FIRRemoteConfigActivateCompletion)\n\n `\n ` \n Completion handler invoked by activate method upon completion. \n\n #### Declaration\n\n Objective-C \n\n typedef void (^FIRRemoteConfigActivateCompletion)(NSError *_Nullable)\n\n #### Parameters\n\n |---------------|-------------------------------------------------------------|\n | ` `*error*` ` | Error message on failure. Nil if activation was successful. |\n\n- `\n ``\n ``\n `\n\n ### [FIRRemoteConfigInitializationCompletion](#/c:FIRRemoteConfig.h@T@FIRRemoteConfigInitializationCompletion)\n\n `\n ` \n Completion handler invoked upon completion of Remote Config initialization. \n\n #### Declaration\n\n Objective-C \n\n typedef void (^FIRRemoteConfigInitializationCompletion)(NSError *_Nullable)\n\n #### Parameters\n\n |-----------------------------|----------------------------------|\n | ` `*initializationError*` ` | nil if initialization succeeded. |\n\n- `\n ``\n ``\n `\n\n ### [FIRRemoteConfigFetchAndActivateCompletion](#/c:FIRRemoteConfig.h@T@FIRRemoteConfigFetchAndActivateCompletion)\n\n `\n ` \n Completion handler invoked by the fetchAndActivate method. Used to convey status of fetch and,\n if successful, resultant activate call \n\n #### Declaration\n\n Objective-C \n\n typedef void (^FIRRemoteConfigFetchAndActivateCompletion)(\n /docs/reference/ios/firebaseremoteconfig/api/reference/Enums/FIRRemoteConfigFetchAndActivateStatus, NSError *_Nullable)\n\n #### Parameters\n\n |----------------|------------------------------------------|\n | ` `*status*` ` | Config fetching status. |\n | ` `*error*` ` | Error message on failure of config fetch |\n\n[FIRRemoteConfig\n---------------](#/FIRRemoteConfig)\n\n- `\n ``\n ``\n `\n\n ### [FIRRemoteConfigUpdateCompletion](#/c:FIRRemoteConfig.h@T@FIRRemoteConfigUpdateCompletion)\n\n `\n ` \n Completion handler invoked by `addOnConfigUpdateListener` when there is an update to\n the config from the backend. \n\n #### Declaration\n\n Objective-C \n\n typedef void (^FIRRemoteConfigUpdateCompletion)(\n /docs/reference/ios/firebaseremoteconfig/api/reference/Classes/FIRRemoteConfigUpdate *_Nullable, NSError *_Nullable)\n\n #### Parameters\n\n |----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n | ` `*configUpdate*` ` | An instance of [FIRRemoteConfigUpdate](/docs/reference/ios/firebaseremoteconfig/api/reference/Classes/FIRRemoteConfigUpdate) that contains information on which key's values have changed. |\n | ` `*error*` ` | Error message on failure. |"]]