OnlineManager

Types

Link copied to clipboard
enum MapStreamingError : Enum<OnlineManager.MapStreamingError>
Link copied to clipboard
interface MapStreamingListener : NativeMethodsReceiver.NativeListener

Functions

Link copied to clipboard
fun addMapFlagSettingErrorListener(listener: OnlineManager.MapStreamingListener, executor: Executor? = null)
Link copied to clipboard
open fun <T : NativeMethodsReceiver.NativeListener> callMethod(clazz: Class<T>, callback: NativeMethodsReceiver.NativeCallback<T>)
Link copied to clipboard
fun disableOnlineMapStreaming(listener: OnlineManager.MapStreamingListener)

Disables online maps

Link copied to clipboard
fun enableOnlineMapStreaming(listener: OnlineManager.MapStreamingListener)

Enables online maps

Link copied to clipboard
fun getActiveMapProvider(listener: GetActiveMapProviderListener, executor: Executor? = null)

Fetch currently active Online Map Provider.

Link copied to clipboard
fun getAvailableMapProviders(listener: GetMapProvidersListener, executor: Executor? = null)

Fetch currently available Online Map Providers.

Link copied to clipboard
open fun <T : NativeMethodsReceiver.NativeListener> getListeners(clazz: Class<T>): MutableMap<T, Executor>
Link copied to clipboard
fun isOnlineMapStreamingEnabled(): Boolean

Returns if online maps are enabled

Link copied to clipboard
open override fun onContextDestroy()
Link copied to clipboard
open fun <T : NativeMethodsReceiver.NativeListener> register(clazz: Class<T>, listener: T): Int
open fun <T : NativeMethodsReceiver.NativeListener> register(    clazz: Class<T>,     listener: T,     @Nullable executor: Executor?): Int
Link copied to clipboard
Link copied to clipboard
fun setActiveMapProvider(    provider: MapProvider,     listener: SetActiveMapProviderListener,     executor: Executor? = null)

Set active Map Provider. Does nothing if the currently active provider is the same as desired one.

Link copied to clipboard
open fun size(): Int
Link copied to clipboard
open fun <T : NativeMethodsReceiver.NativeListener> unregister(clazz: Class<T>, listener: T): Int