PACECloudSDK

object PACECloudSDK

Functions

setLoggingListener
Link copied to clipboard
fun setLoggingListener(loggingListener: (String) -> Unit)

Sets the logging listener to loggingListener.

setup
Link copied to clipboard
fun setup(context: Context, configuration: Configuration)

Sets up PACECloudSDK with the passed configuration. This needs to be called before any of its "Kits" can be used.

setUserAgentExtensions
Link copied to clipboard
fun setUserAgentExtensions(extensions: List<String>)

Replaces the list of optional extensions at the end of the user agent (separated with a space).

Properties

additionalQueryParams
Link copied to clipboard
var additionalQueryParams: Map<String, String>

The setter replaces the additional query parameters which are appended to each request. It also updates the additional parameters of the CustomOIDConfiguration of the IDKit.

isLoggingEnabled
Link copied to clipboard
var isLoggingEnabled: Boolean = false

true, if the logging should be enabled, false otherwise (default: false).

isSetup
Link copied to clipboard
var isSetup: Boolean = false

Extensions

environment
Link copied to clipboard
val PACECloudSDK.environment: Environment