AGCRemoteConfig class

AGConnect RemoteConfig SDK 入口类

Constructors

AGCRemoteConfig()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

applyDefaults(Map<String, dynamic> defaults) Future<void>
设置本地默认参数
applyLastFetched() Future<void>
生效最近一次云端拉取的配置数据
clearAll() Future<void>
清除所有的缓存数据,包括从云测拉取的数据和传入的默认值
fetch({int intervalSeconds}) Future<void>
从云端拉取最新的配置数据,拉取默认间隔12小时,12小时内返回缓存数据
getMergedAll() Future<Map>
返回默认值和云端值合并后的所有值
getSource(String key) Future<RemoteConfigSource>
返回Key对应的来源
getValue(String key) Future<String>
返回Key对应的String类型的Value值
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
setDeveloperMode(bool isDeveloperMode) Future<void>
设置开发者模式,将不限制客户端获取数据的次数,云测仍将进行流控 仅支持Android
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance AGCRemoteConfig
获取AGCRemoteConfig实例
final