SygicContext

class SygicContext : NativeMethodsReceiver

Types

OnInitCallback
Link copied to clipboard
OnInitListener
Link copied to clipboard
interface OnInitListener : NativeMethodsReceiver.NativeListener

Functions

destroy
Link copied to clipboard
open fun destroy()
getContext
Link copied to clipboard
open fun getContext(): Context
getInstance
Link copied to clipboard
open fun getInstance(): SygicContext
open fun getInstance(callback: SygicContext.OnInitCallback)
open fun getInstance(callback: SygicContext.OnInitCallback, @NonNull() executor: Executor)
getLogConnector
Link copied to clipboard
open fun getLogConnector(): LogConnector
getTracking
Link copied to clipboard
open fun getTracking(): Tracking
init
Link copied to clipboard
open fun init(request: SygicContextInitRequest, callback: SygicContext.OnInitCallback)
Initializes the Sygic context.
open fun init(context: Context, tracking: Tracking, logConnector: LogConnector, jsonConfig: String, callback: SygicContext.OnInitCallback)
Initializes the Sygic context.
open fun init(key: String, secret: String, path: String, context: Context, tracking: Tracking, logConnector: LogConnector, callback: SygicContext.OnInitCallback)
Initializes the Sygic context.
initContext
Link copied to clipboard
open fun initContext(context: Context)
isInitialized
Link copied to clipboard
open fun isInitialized(): Boolean
setActive
Link copied to clipboard
open fun setActive(active: Boolean)
setTracking
Link copied to clipboard
open fun setTracking(tracking: Tracking)