BreadCrumbs

class BreadCrumbs : NativeMethodsReceiver

Class for logging and displaying location history inside of a map view.

Types

Companion
Link copied to clipboard
object Companion
Visibility
Link copied to clipboard
enum Visibility : Enum<BreadCrumbs.Visibility>

Functions

callMethod
Link copied to clipboard
open fun <T : NativeMethodsReceiver.NativeListener> callMethod(clazz: Class<T>, callback: NativeMethodsReceiver.NativeCallback<T>)
clear
Link copied to clipboard
fun clear()
Clear the location history.
destroy
Link copied to clipboard
fun destroy()
getListeners
Link copied to clipboard
open fun <T : NativeMethodsReceiver.NativeListener> getListeners(clazz: Class<T>): MutableMap<T, Executor>
init
Link copied to clipboard
fun init(nativeRef: Long)
isValid
Link copied to clipboard
fun isValid(): Boolean
onRestoreInstance
Link copied to clipboard
fun onRestoreInstance(inState: Bundle?)
onSaveInstance
Link copied to clipboard
fun onSaveInstance(outState: Bundle)
register
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
setVisibility
Link copied to clipboard
fun setVisibility(state: BreadCrumbs.Visibility)
Sets the visibility of the breadcrumbs.
size
Link copied to clipboard
open fun size(): Int
start
Link copied to clipboard
fun start()
Start the location logging.
stop
Link copied to clipboard
fun stop()
Stop the location logging.
unregister
Link copied to clipboard
open fun <T : NativeMethodsReceiver.NativeListener> unregister(clazz: Class<T>, listener: T): Int