Builder

class Builder

Builder class used to construct immutable MapAnimationOptions object.

Constructors

Builder
Link copied to clipboard
fun Builder()

Functions

animatorListener
Link copied to clipboard
fun animatorListener(animatorListener: Animator.AnimatorListener): MapAnimationOptions.Builder
Set the animator start / cancel / end listener.
build
Link copied to clipboard
fun build(): MapAnimationOptions
Build an actual MapAnimationOptions object.
duration
Link copied to clipboard
fun duration(duration: Long): MapAnimationOptions.Builder
Set the duration of the animation in milliseconds.
interpolator
Link copied to clipboard
fun interpolator(interpolator: TimeInterpolator): MapAnimationOptions.Builder
Set the animation interpolator.
owner
Link copied to clipboard
fun owner(owner: String): MapAnimationOptions.Builder
Set the owner or creator this animation.