Online Manager
class OnlineManager : NativeMethodsReceiver, SygicContext.OnContextDestroyListener
Content copied to clipboard
Types
Functions
add Map Flag Setting Error Listener
Link copied to clipboard
fun addMapFlagSettingErrorListener(listener: OnlineManager.MapStreamingListener, executor: Executor? = null)
Content copied to clipboard
call Method
Link copied to clipboard
open fun <T : NativeMethodsReceiver.NativeListener> callMethod(clazz: Class<T>, callback: NativeMethodsReceiver.NativeCallback<T>)
Content copied to clipboard
disable Online Map Streaming
Link copied to clipboard
fun disableOnlineMapStreaming(listener: OnlineManager.MapStreamingListener)
Content copied to clipboard
Disables online maps
enable Online Map Streaming
Link copied to clipboard
fun enableOnlineMapStreaming(listener: OnlineManager.MapStreamingListener)
Content copied to clipboard
Enables online maps
get Active Map Provider
Link copied to clipboard
fun getActiveMapProvider(listener: GetActiveMapProviderListener, executor: Executor? = null)
Content copied to clipboard
Fetch currently active Online Map Provider.
get Available Map Providers
Link copied to clipboard
fun getAvailableMapProviders(listener: GetMapProvidersListener, executor: Executor? = null)
Content copied to clipboard
Fetch currently available Online Map Providers.
get Listeners
Link copied to clipboard
open fun <T : NativeMethodsReceiver.NativeListener> getListeners(clazz: Class<T>): MutableMap<T, Executor>
Content copied to clipboard
is Online Map Streaming Enabled
Link copied to clipboard
Returns if online maps are enabled
on Context Destroy
Link copied to clipboard
open override fun onContextDestroy()
Content copied to clipboard
register
Link copied to clipboard
remove Map Flag Setting Error Listener
Link copied to clipboard
fun removeMapFlagSettingErrorListener(listener: OnlineManager.MapStreamingListener)
Content copied to clipboard
set Active Map Provider
Link copied to clipboard
fun setActiveMapProvider(provider: MapProvider, listener: SetActiveMapProviderListener, executor: Executor? = null)
Content copied to clipboard
Set active Map Provider. Does nothing if the currently active provider is the same as desired one.
unregister
Link copied to clipboard
open fun <T : NativeMethodsReceiver.NativeListener> unregister(clazz: Class<T>, listener: T): Int
Content copied to clipboard