CameraAnimatorOptions

Class responsible for storing options used by all CameraAnimator's from CameraAnimationsPlugin. CameraAnimatorOptions.Builder should be used to create options object via DSL function cameraAnimatorOptions.

class CameraAnimatorOptions<T>

Types

Builder
Link copied to clipboard

Builder class used to construct immutable CameraAnimatorOptions object.

class Builder<T>(targets: Array<out T>)
Companion
Link copied to clipboard

Static methods.

object Companion

Functions

equals
Link copied to clipboard

Equals method.

open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard

Hash code method.

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.

val owner: String?
startValue
Link copied to clipboard

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

val startValue: T?
targets
Link copied to clipboard

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

val targets: Array<out T>