Builder

class Builder<T>(targets: T)

Builder class used to construct immutable CameraAnimatorOptions object.

Constructors

Builder
Link copied to clipboard
fun <T> Builder(vararg targets: T)

Functions

build
Link copied to clipboard
fun build(): CameraAnimatorOptions<T>
Build an actual CameraAnimatorOptions object.
owner
Link copied to clipboard
fun owner(owner: String): CameraAnimatorOptions.Builder<T>
Optional field indicating who created animator.
startValue
Link copied to clipboard
fun startValue(startValue: T): CameraAnimatorOptions.Builder<T>
Animator start value.

Properties

targets
Link copied to clipboard
val targets: Array<out T>
CameraAnimator targets (values between which interpolation will take place).