RemoteConfig interface
Stay organized with collections
Save and categorize content based on your preferences.
The Firebase Remote Config service interface.
Signature:
export interface RemoteConfig
Properties
RemoteConfig.app
The FirebaseApp this RemoteConfig
instance is associated with.
Signature:
app: FirebaseApp;
RemoteConfig.defaultConfig
Object containing default values for configs.
Signature:
defaultConfig: {
[key: string]: string | number | boolean;
};
RemoteConfig.fetchTimeMillis
The Unix timestamp in milliseconds of the last successful fetch, or negative one if the RemoteConfig instance either hasn't fetched or initialization is incomplete.
Signature:
fetchTimeMillis: number;
RemoteConfig.lastFetchStatus
The status of the last fetch attempt.
Signature:
lastFetchStatus: FetchStatus;
RemoteConfig.settings
Defines configuration for the Remote Config SDK.
Signature:
settings: RemoteConfigSettings;
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 2022-07-22 UTC.
[null,null,["Last updated 2022-07-22 UTC."],[],[],null,["# RemoteConfig interface\n\nThe Firebase Remote Config service interface.\n\n**Signature:** \n\n export interface RemoteConfig \n\nProperties\n----------\n\n| Property | Type | Description |\n|--------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [app](./remote-config.remoteconfig.md#remoteconfigapp) | [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface) | The [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface) this `RemoteConfig` instance is associated with. |\n| [defaultConfig](./remote-config.remoteconfig.md#remoteconfigdefaultconfig) | { \\[key: string\\]: string \\| number \\| boolean; } | Object containing default values for configs. |\n| [fetchTimeMillis](./remote-config.remoteconfig.md#remoteconfigfetchtimemillis) | number | The Unix timestamp in milliseconds of the last *successful* fetch, or negative one if the [RemoteConfig](./remote-config.remoteconfig.md#remoteconfig_interface) instance either hasn't fetched or initialization is incomplete. |\n| [lastFetchStatus](./remote-config.remoteconfig.md#remoteconfiglastfetchstatus) | [FetchStatus](./remote-config.md#fetchstatus) | The status of the last fetch *attempt*. |\n| [settings](./remote-config.remoteconfig.md#remoteconfigsettings) | [RemoteConfigSettings](./remote-config.remoteconfigsettings.md#remoteconfigsettings_interface) | Defines configuration for the Remote Config SDK. |\n\nRemoteConfig.app\n----------------\n\nThe [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface) this `RemoteConfig` instance is associated with.\n\n**Signature:** \n\n app: FirebaseApp;\n\nRemoteConfig.defaultConfig\n--------------------------\n\nObject containing default values for configs.\n\n**Signature:** \n\n defaultConfig: {\n [key: string]: string | number | boolean;\n };\n\nRemoteConfig.fetchTimeMillis\n----------------------------\n\nThe Unix timestamp in milliseconds of the last *successful* fetch, or negative one if the [RemoteConfig](./remote-config.remoteconfig.md#remoteconfig_interface) instance either hasn't fetched or initialization is incomplete.\n\n**Signature:** \n\n fetchTimeMillis: number;\n\nRemoteConfig.lastFetchStatus\n----------------------------\n\nThe status of the last fetch *attempt*.\n\n**Signature:** \n\n lastFetchStatus: FetchStatus;\n\nRemoteConfig.settings\n---------------------\n\nDefines configuration for the Remote Config SDK.\n\n**Signature:** \n\n settings: RemoteConfigSettings;"]]