Online Manager
class OnlineManager : NativeMethodsReceiver, SygicContext.OnContextDestroyListener
Content copied to clipboard
Types
Functions
Link copied to clipboard
fun addMapFlagSettingErrorListener(listener: OnlineManager.MapStreamingListener, executor: Executor? = null)
Content copied to clipboard
Link copied to clipboard
open fun <T : NativeMethodsReceiver.NativeListener> callMethod(clazz: Class<T>, callback: NativeMethodsReceiver.NativeCallback<T>)
Content copied to clipboard
Link copied to clipboard
fun disableOnlineMapStreaming(listener: OnlineManager.MapStreamingListener)
Content copied to clipboard
Disables online maps
Link copied to clipboard
fun enableOnlineMapStreaming(listener: OnlineManager.MapStreamingListener)
Content copied to clipboard
Enables online maps
Link copied to clipboard
fun getActiveMapProvider(listener: GetActiveMapProviderListener, executor: Executor? = null)
Content copied to clipboard
Fetch currently active Online Map Provider.
Link copied to clipboard
fun getAvailableMapProviders(listener: GetMapProvidersListener, executor: Executor? = null)
Content copied to clipboard
Fetch currently available Online Map Providers.
Link copied to clipboard
open fun <T : NativeMethodsReceiver.NativeListener> getListeners(clazz: Class<T>): MutableMap<T, Executor>
Content copied to clipboard
Link copied to clipboard
Returns if online maps are enabled
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun removeMapFlagSettingErrorListener(listener: OnlineManager.MapStreamingListener)
Content copied to clipboard
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.
Link copied to clipboard
open fun <T : NativeMethodsReceiver.NativeListener> unregister(clazz: Class<T>, listener: T): Int
Content copied to clipboard