Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public interface RemoteConfigProvider
Known subtypesFirebaseRemoteConfigProvider, JsonUrlRemoteConfigProvider
A source of remote configuration values for RemoteConfig.
FirebaseRemoteConfigProvider reads Firebase Remote Config and
JsonUrlRemoteConfigProvider reads a JSON object from any URL.
Methods
public abstract AsyncResource<Map<String, String>> fetch() | Fetches the current values. |
public abstract String getId() |
Method details
fetch
public abstract AsyncResource<Map<String, String>> fetch()Fetches the current values.
Returns
a resource that completes with keys to string values
getId
public abstract String getId()Returns
a short stable ID that keeps this provider’s cache apart from others