SygicContext

class SygicContext : NativeMethodsReceiver

Types

Link copied to clipboard
interface OnContextDestroyListener
Link copied to clipboard
interface OnInitCallback : CoreInitCallback<T> , NativeMethodsReceiver.NativeListener
Link copied to clipboard
interface OnInitListener : NativeMethodsReceiver.NativeListener

Functions

Link copied to clipboard
open fun addOnDestroyListener(@NonNull listener: SygicContext.OnContextDestroyListener)
Link copied to clipboard
open fun destroy()
Link copied to clipboard
open fun getContext(): Context
Link copied to clipboard
open fun getInstance(): SygicContext
open fun getInstance(callback: SygicContext.OnInitCallback)
open fun getInstance(callback: SygicContext.OnInitCallback, @NonNull executor: Executor)
Link copied to clipboard
open fun getLogConnector(): LogConnector
Link copied to clipboard
open fun getTracking(): Tracking
Link copied to clipboard
open fun init(request: SygicContextInitRequest, callback: SygicContext.OnInitCallback)
open fun init(    context: Context,     tracking: Tracking,     logConnector: LogConnector,     jsonConfig: String,     callback: SygicContext.OnInitCallback)
Initializes the Sygic context.
Link copied to clipboard
open fun initAuth(authConfig: AuthConfig)
Link copied to clipboard
open fun initContext(context: Context)
Link copied to clipboard
open fun initDownloadManager()
Link copied to clipboard
open fun isInitialized(): Boolean
Link copied to clipboard
open fun log(    tag: String,     message: String,     logLevel: LogConnector.LogLevel)
Link copied to clipboard
open fun setActive(active: Boolean)
Link copied to clipboard
open fun setTracking(tracking: Tracking)

Properties

Link copied to clipboard
private open val auth: Auth