configure Sdk
fun configureSdk(applicationContext: Context, host: String, appKey: String, integrationId: IntegrationId, jwtProvider: JwtProvider, configMap: SdkConfigMap? = null): AxpSdkConfig
Configure the SDK for interacting with AXP.
Return
The configuration applied to the SDK.
Parameters
application Context
The Android application context.
host
Hostname of the AXP API endpoint to connect to or an AXP region code.
app Key
Application Key which is required to access the API for your Account.
integration Id
The integration ID for the tenant that is configured on AXP.
jwt Provider
Application-provided instance that fetches a JWT for authentication from AXP.
config Map
Optional map of additional configuration. See SdkConfigKey for the possible entries.
Throws
if the host is blank or if the applicationContext passed is not the application context.