initialize

fun initialize(context: Context, tracking: Tracking?, logConnector: LogConnector?, jsonConfig: String, callback: SygicEngine.OnInitCallback?)

Parameters

context

instance of the context

tracking

instance of the tracking

logConnector

instance of the connector

jsonConfig

JSON configuration string (for example configuration, see <a href="https://www.sygic.com/developers/sygic-maps-sdk/sdk-configuration/full-json-configuration/full-json-example">full JSON configuration example</a>)

callback

listener to be called after engine is initialized

fun initialize(request: SygicContextInitRequest, callback: SygicEngine.OnInitCallback?)

Parameters

request

instance of the request

callback

listener to be called after engine is initialized