SygicEngine

object SygicEngine

Use this interface to set mandatory authentication credentials. You have to set authentication credentials (Api key and App Secret code) in order to use the APIs contained within this SDK. Some APIs may appear to work without valid credentials but they may stop functioning in the near future when server side configurations change, so please obtain and use valid credentials.

Types

Builder
Link copied to clipboard
class Builder(mContext: Context)
Builder for initializing SDK.
JsonConfigBuilder
Link copied to clipboard
class JsonConfigBuilder @JvmOverloads() constructor(jsonConfig: String?)
Builder class for creating json configuration String used to initialize SygicEngine.
OnInitCallback
Link copied to clipboard

Functions

initialize
Link copied to clipboard
fun initialize(request: SygicContextInitRequest, callback: SygicEngine.OnInitCallback?)
fun initialize(context: Context, tracking: Tracking?, logConnector: LogConnector?, jsonConfig: String, callback: SygicEngine.OnInitCallback?)
openGpsConnection
Link copied to clipboard
fun openGpsConnection()
Opens Gps connection manually after location permission was granted
pause
Link copied to clipboard
fun pause()
resume
Link copied to clipboard
fun resume()