setDefaultAnimatorOptions

fun setDefaultAnimatorOptions(type: CameraAnimatorType, block: ValueAnimator.() -> Unit)

Set default global options for given animator type. All newly created animators will have those options applied.

Parameters

type

Type of default animator

block

Block to apply any ValueAnimator parameters

fun setDefaultAnimatorOptions(block: ValueAnimator.() -> Unit)

Set default global options for all animator types All newly created animators will have those options applied.

Parameters

block

Block to apply any ValueAnimator parameters