ConfigurationStore

object ConfigurationStore

This is a helper for configuration. It contains the APIs for getting the configuration

Types

Link copied to clipboard
interface ConfigurationCallback

Callback for ConfigurationMetadata results.

Functions

Link copied to clipboard
fun agreementUrl(onResult: (String, Throwable?) -> Unit)
Link copied to clipboard
fun clearConfigurationMetadata()
Link copied to clipboard
fun configuration(): Configuration?

Returns the Configuration

Link copied to clipboard
fun configurationMetadata(): ConfigurationMetadata?

Get the value of ConfigurationMetadata

fun configurationMetadata(configurationMetadata: ConfigurationMetadata?)

Set the value of ConfigurationMetadata

Link copied to clipboard
fun configurationMetadataAsync(onResult: (ConfigurationMetadata?, Throwable?) -> Unit)

Returns the ConfigurationMetadata by asynchronous, Fetching from cache or network

Link copied to clipboard
fun configurationMetadataSync(): ConfigurationMetadata?

Returns the ConfigurationMetadata by synchronously, Fetching from cache or network

Link copied to clipboard
fun configure(configuration: Configuration)

Set the Configuration start AuthorizationServiceConfiguration

fun configure(inputStream: InputStream)
fun configure(json: String)
Link copied to clipboard
fun privacyUrl(onResult: (url: String, error: Throwable?) -> Unit)
Link copied to clipboard
fun serviceSettingUrl(onResult: (url: String, error: Throwable?) -> Unit)
Link copied to clipboard
fun templateServerUri(onResult: (url: String, error: Throwable?) -> Unit)
Link copied to clipboard
fun usageGuideUrl(deviceUniqueId: String, onResult: (String, Throwable?) -> Unit)

Gets the value of usageGuideUrl

Properties

Link copied to clipboard
lateinit var configuration: Configuration
Link copied to clipboard
const val TAG: String