Camera Animations Lifecycle Listener
interface CameraAnimationsLifecycleListener
Content copied to clipboard
Interface responsible to notify about any CameraAnimator lifecycle events registered in CameraAnimationsPlugin. Those events are:
animator is about to start
animator is about to cancel already running animator of same type
animator is about to end
animator is about to cancel
Functions
onAnimatorCancelling
Link copied to clipboard
abstract fun onAnimatorCancelling(type: CameraAnimatorType, animator: ValueAnimator, owner: String?)
Content copied to clipboard
Called when ValueAnimator is about to cancel.
onAnimatorEnding
Link copied to clipboard
abstract fun onAnimatorEnding(type: CameraAnimatorType, animator: ValueAnimator, owner: String?)
Content copied to clipboard
onAnimatorInterrupting
Link copied to clipboard
abstract fun onAnimatorInterrupting(type: CameraAnimatorType, runningAnimator: ValueAnimator, runningAnimatorOwner: String?, newAnimator: ValueAnimator, newAnimatorOwner: String?)
Content copied to clipboard
Called when animator is about to cancel already running animator of same CameraAnimatorType.
onAnimatorStarting
Link copied to clipboard
abstract fun onAnimatorStarting(type: CameraAnimatorType, animator: ValueAnimator, owner: String?)
Content copied to clipboard