LocationConsumer

Defines the interface for LocationConsumer.

Functions

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

Called whenever the bearing is updated.

Link copied to clipboard
abstract fun onError(error: LocationError)

Called whenever there is an error.

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

Called whenever the horizontal accuracy radius is updated.

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

Called whenever the location is updated.

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

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

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