OnlineManager

open class OnlineManager : NativeMethodsReceiver

Types

MapStreamingError
Link copied to clipboard
enum MapStreamingError
MapStreamingListener
Link copied to clipboard
interface MapStreamingListener : NativeMethodsReceiver.NativeListener
OnlineStatusListener
Link copied to clipboard
interface OnlineStatusListener : NativeMethodsReceiver.NativeListener
Status
Link copied to clipboard
annotation class Status

Functions

addMapFlagSettingErrorListener
Link copied to clipboard
open fun addMapFlagSettingErrorListener(listener: OnlineManager.MapStreamingListener)
open fun addMapFlagSettingErrorListener(listener: OnlineManager.MapStreamingListener, @Nullable() executor: Executor)
addOnlineStatusListener
Link copied to clipboard
open fun addOnlineStatusListener(listener: OnlineManager.OnlineStatusListener)
open fun addOnlineStatusListener(listener: OnlineManager.OnlineStatusListener, @Nullable() executor: Executor)
authenticate
Link copied to clipboard
open fun authenticate()
Authentication with Sygic Auth server using client credentials (eg.
authenticateWithFacebookToken
Link copied to clipboard
open fun authenticateWithFacebookToken(token: String)
DEPRECATED - Use authenticate()
authenticateWithGoogleIdToken
Link copied to clipboard
open fun authenticateWithGoogleIdToken(idToken: String)
DEPRECATED - Use authenticate()
authenticateWithGoogleToken
Link copied to clipboard
open fun authenticateWithGoogleToken(token: String)
DEPRECATED - Use authenticate()
authenticateWithoutAccount
Link copied to clipboard
open fun authenticateWithoutAccount()
DEPRECATED - Renamed to authenticate()
authenticateWithSygicAccount
Link copied to clipboard
open fun authenticateWithSygicAccount(username: String, password: String)
DEPRECATED - Use authenticate()
destroy
Link copied to clipboard
open fun destroy()
disableOnlineMapStreaming
Link copied to clipboard
open fun disableOnlineMapStreaming(listener: OnlineManager.MapStreamingListener)
Disables online maps
enableNetworkAccess
Link copied to clipboard
open fun enableNetworkAccess(enable: Boolean)
enableOnlineMapStreaming
Link copied to clipboard
open fun enableOnlineMapStreaming(listener: OnlineManager.MapStreamingListener)
Enables online maps
getAccessToken
Link copied to clipboard
open fun getAccessToken(): String
Returns the access token used for communication with Sygic servers
getOnlineStatus
Link copied to clipboard
open fun getOnlineStatus(): Int
isAuthenticatedWithAccount
Link copied to clipboard
open fun isAuthenticatedWithAccount(): Boolean
DEPRECATED - SygicMaps SDK will only support client credentials authentication (eg.
isOnlineMapStreamingEnabled
Link copied to clipboard
open fun isOnlineMapStreamingEnabled(): Boolean
Returns if online maps are enabled
refreshSession
Link copied to clipboard
open fun refreshSession()
Refresh the active access token, if there is an active authentication.
removeMapFlagSettingErrorListener
Link copied to clipboard
open fun removeMapFlagSettingErrorListener(listener: OnlineManager.MapStreamingListener)
removeOnlineStatusListener
Link copied to clipboard
open fun removeOnlineStatusListener(listener: OnlineManager.OnlineStatusListener)
resetAuthentication
Link copied to clipboard
open fun resetAuthentication()
setOnlineServicesTimeout
Link copied to clipboard
open fun setOnlineServicesTimeout(idleTimeout: Int, totalTimeout: Int)