init
fun init(appContext: Context, customerId: String, isSandbox: Boolean, authTokenProvider: AuthTokenProvider)
Initialize Volt SDK connected to Volt environment.
Parameters
customer Id
String customerId in Volt system
is Sandbox
Boolean whether to use sandbox environment or not
auth Token Provider
io.volt.sdk.network.AuthTokenProvider implementation of AuthTokenProvider interface,
fun init(appContext: Context, customerId: String, apiUrl: String, authTokenProvider: AuthTokenProvider)
Initialize Volt SDK connected to specific API environment.
Parameters
customer Id
String customerId in Volt system
api Url
String of API that should be used by SDK
auth Token Provider
AuthTokenProvider implementation of AuthTokenProvider interface,