Type Definitions
The following type definitions are available globally.
-
Completion handler invoked by fetch methods when they get a response from the server.
Parameters
statusConfig fetching status.
errorError message on failure.
-
Completion handler invoked by activate method upon completion.
Parameters
errorError message on failure. Nil if activation was successful.
-
Completion handler invoked upon completion of Remote Config initialization.
Parameters
initializationErrornil if initialization succeeded.
-
Completion handler invoked by the fetchAndActivate method. Used to convey status of fetch and, if successful, resultant activate call
Parameters
statusConfig fetching status.
errorError message on failure of config fetch
-
Completion handler invoked by
addOnConfigUpdateListenerwhen there is an update to the config from the backend.Parameters
configUpdateAn instance of
FIRRemoteConfigUpdatethat contains information on which key’s values have changed.errorError message on failure.