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
on Animator Cancelling
Link copied to clipboard
abstract fun onAnimatorCancelling(type: CameraAnimatorType, animator: ValueAnimator, owner: String?)
Content copied to clipboard
Called when ValueAnimator is about to cancel.
on Animator Ending
Link copied to clipboard
abstract fun onAnimatorEnding(type: CameraAnimatorType, animator: ValueAnimator, owner: String?)
Content copied to clipboard
Called when animator is about to end.
on Animator Interrupting
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.
on Animator Starting
Link copied to clipboard
abstract fun onAnimatorStarting(type: CameraAnimatorType, animator: ValueAnimator, owner: String?)
Content copied to clipboard
Called when animator is about to start.