LocationConsumer

Defines the interface for LocationConsumer.

interface LocationConsumer

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
onBearingUpdated
Link copied to clipboard

Called whenever the bearing is updated.

abstract fun onBearingUpdated(vararg bearing: DoubleArray, options: ValueAnimator.() -> Unit?)
onLocationUpdated
Link copied to clipboard

Called whenever the location is updated.

abstract fun onLocationUpdated(vararg location: Array<out Point>, options: ValueAnimator.() -> Unit?)

Update ValueAnimator options that will be used to animate between bearing Double updates by default. This will apply to all upcoming updates.

abstract fun onPuckBearingAnimatorDefaultOptionsUpdated(options: ValueAnimator.() -> Unit)

Update ValueAnimator options that will be used to animate between Point updates by default. This will apply to all upcoming updates.

abstract fun onPuckLocationAnimatorDefaultOptionsUpdated(options: ValueAnimator.() -> Unit)
toString
Link copied to clipboard
open override fun toString(): String

Inheritors

LocationComponentPluginImpl
Link copied to clipboard