toggle menu
Airship Android SDK
androidJvm
switch theme
search in API
urbanairship-core
/
com.urbanairship.config
/
RemoteConfigObserver
Remote
Config
Observer
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP
]
)
class
RemoteConfigObserver
(
dataStore
:
PreferenceDataStore
)
Members
Constructors
Remote
Config
Observer
Link copied to clipboard
constructor
(
dataStore
:
PreferenceDataStore
)
Properties
remote
Config
Link copied to clipboard
val
remoteConfig
:
RemoteConfig
Functions
add
Config
Listener
Link copied to clipboard
fun
addConfigListener
(
listener
:
AirshipRuntimeConfig.ConfigChangeListener
)
Adds a remote config listener.
remove
Remote
Config
Listener
Link copied to clipboard
fun
removeRemoteConfigListener
(
listener
:
AirshipRuntimeConfig.ConfigChangeListener
)
Removes a URL config listener.
update
Remote
Config
Link copied to clipboard
@
VisibleForTesting
fun
updateRemoteConfig
(
config
:
RemoteConfig
)