RemoteConfig

Resolves remote endpoints and client options used by the FUS client. Implementations can consult product configuration, environment, and server responses.

Functions

Link copied to clipboard
open suspend fun close()

Called when FusClient is closed.

Link copied to clipboard
abstract fun getDictionaryUrl(): String

URL for fetching dictionary data used in validation.

Link copied to clipboard
abstract fun getMetadataUrl(): String

URL for fetching metadata (validation rules, etc.).

Link copied to clipboard
abstract fun getSendUrl(): String

URL for sending usage reports.

Link copied to clipboard
abstract fun isUnreachable(): Boolean
Link copied to clipboard
abstract fun provideOptions(): Map<String, String>

Additional configuration options to be used by clients.

Link copied to clipboard
abstract suspend fun scheduleUpdate()
Link copied to clipboard
abstract suspend fun update(): Boolean

Updates the configuration. Returns true if the configuration was updated.