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
owner
Link copied to clipboard

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

fun owner(owner: String): CameraAnimatorOptions.Builder<T>
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.

fun startValue(startValue: T): CameraAnimatorOptions.Builder<T>
toString
Link copied to clipboard
open override fun toString(): String

Properties

targets
Link copied to clipboard

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

val targets: Array<out T>