initialize

public final Response<InitializeResponse> initialize(Activity activityContext, String apiBaseUrl, Boolean enableDebug, Boolean enableGPS, SDKCustomizationOptions sdkCustomizationOptions, Boolean isUpdateModelsData, String accessToken)

Initialization

Initialization of the SDK with required parameters and return result of initialization.

Return

Returns response of type Response



For status and error code please refer to Status documentation

Parameters

context

Requires Context

apiBaseUrl

Base Url required in String format

enableDebug

Boolean for debug active or not

enableGPS

Boolean for GPS active or not

sdkCustomizationOptions

optional parameter for UI customization options. It will take default options, if null or not passed while invocation.

isUpdateModelsData

If model is no need to download from server then send value false

accessToken

access token value is required for the SDK initialize