AGConnect Remote Config

class AGConnectRemoteConfig(val defaultValues: Int?, val interval: Long?) : DevRemoteConfig

AppGallery Connect Remote Config Implementation

Author

Jimly A.

Since

12-Nov-21

Constructors

Link copied to clipboard
fun AGConnectRemoteConfig(defaultValues: Int?, interval: Long?)

Functions

Link copied to clipboard
open override fun fetch(listener: (Boolean) -> Unit)

method to fetch value

Link copied to clipboard
open override fun get(key: String): AGConnectValue

method to get value from given key

Properties

Link copied to clipboard
open override val defaultValues: Int?

Xml Resource of the default values for key from remote configuration

Link copied to clipboard
open override val interval: Long?

how long in seconds to fetch new values

Link copied to clipboard
open override val remoteConfig: AGConnectConfig

instance of AGConnectConfig

Sources

Link copied to clipboard