LocationConsumer2

interface LocationConsumer2 : LocationConsumer

Defines the interface for LocationConsumer.

Functions

onAccuracyRadiusUpdated
Link copied to clipboard
abstract fun onAccuracyRadiusUpdated(vararg radius: Double, options: ValueAnimator.() -> Unit? = null)

Called whenever the accuracy radius is updated.

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

Called whenever the bearing is updated.

onLocationUpdated
Link copied to clipboard
abstract fun onLocationUpdated(vararg location: Point, options: ValueAnimator.() -> Unit? = null)

Called whenever the location is updated.

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

Update ValueAnimator options that will be used to animate between accuracy radius 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 bearing Double updates by default. This will apply to all upcoming updates.

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

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

Inheritors

LocationComponentPluginImpl
Link copied to clipboard