AGCRemoteConfig class
AGConnect RemoteConfig SDK entry class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
applyDefaults(
Map< String, dynamic> ? defaults) → Future<void> - Setting Local Default Parameters
-
applyLastFetched(
) → Future< void> - Make the configuration data obtained from the cloud last time take effect.
-
clearAll(
) → Future< void> - Clears all cached data, including data pulled from the cloud and default values.
-
fetch(
{int? intervalSeconds}) → Future< void> - Obtain the latest configuration data from the cloud. The default interval is 12 hours. The cached data is returned within 12 hours.
-
getCustomAttributes(
) → Future< Map?> - Return to Obtain Custom Attributes
-
getMergedAll(
) → Future< Map?> - Returns all values after the combination of default values and cloud values.
-
getSource(
String key) → Future< RemoteConfigSource?> - Return the source of the key.
-
getValue(
String key) → Future< String?> - Returns the value of the String type corresponding to the key.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setCustomAttributes(
Map< String, dynamic> ? customAttributes) → Future<void> - Setting Custom Attribute Parameters
-
setDeveloperMode(
bool isDeveloperMode) → Future< void> - If the developer mode is set, the number of times that the client can obtain data is not limited, and the cloud test system still performs flow control.(Android only)
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → AGCRemoteConfig
-
Obtain AGCRemoteConfig instance
final