LocationConsumer
interface LocationConsumer
Content copied to clipboard
Defines the interface for LocationConsumer.
Functions
onBearingUpdated
Link copied to clipboard
abstract fun onBearingUpdated(vararg bearing: Double, options: ValueAnimator.() -> Unit? = null)
Content copied to clipboard
Called whenever the bearing is updated.
onLocationUpdated
Link copied to clipboard
abstract fun onLocationUpdated(vararg location: Point, options: ValueAnimator.() -> Unit? = null)
Content copied to clipboard
Called whenever the location is updated.
onPuckBearingAnimatorDefaultOptionsUpdated
Link copied to clipboard
abstract fun onPuckBearingAnimatorDefaultOptionsUpdated(options: ValueAnimator.() -> Unit)
Content copied to clipboard
Update ValueAnimator options that will be used to animate between bearing Double updates by default. This will apply to all upcoming updates.
onPuckLocationAnimatorDefaultOptionsUpdated
Link copied to clipboard
abstract fun onPuckLocationAnimatorDefaultOptionsUpdated(options: ValueAnimator.() -> Unit)
Content copied to clipboard
Update ValueAnimator options that will be used to animate between Point updates by default. This will apply to all upcoming updates.