Builder

Builder class used to construct immutable CameraAnimatorOptions object.

class Builder<T>(targets: Array<out T>)

Constructors

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

Functions

build
Link copied to clipboard

Build an actual CameraAnimatorOptions object.

fun build(): CameraAnimatorOptions<T>
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

owner
Link copied to clipboard

Optional field indicating who created animator. Defaults to NULL if not specified explicitly.

var owner: String?
startValue
Link copied to clipboard

Animator start value. If specified explicitly - this value will be used as first target. Otherwise current camera option on animation start will be taken.

var startValue: T?
targets
Link copied to clipboard

CameraAnimator targets (values between which interpolation will take place).

val targets: Array<out T>