CameraAnimationsLifecycleListener

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

interface CameraAnimationsLifecycleListener

Functions

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

Called when ValueAnimator is about to cancel.

abstract fun onAnimatorCancelling(type: CameraAnimatorType, animator: ValueAnimator, owner: String?)
onAnimatorEnding
Link copied to clipboard

Called when animator is about to end.

abstract fun onAnimatorEnding(type: CameraAnimatorType, animator: ValueAnimator, owner: String?)
onAnimatorInterrupting
Link copied to clipboard

Called when animator is about to cancel already running animator of same CameraAnimatorType.

abstract fun onAnimatorInterrupting(type: CameraAnimatorType, runningAnimator: ValueAnimator, runningAnimatorOwner: String?, newAnimator: ValueAnimator, newAnimatorOwner: String?)
onAnimatorStarting
Link copied to clipboard

Called when animator is about to start.

abstract fun onAnimatorStarting(type: CameraAnimatorType, animator: ValueAnimator, owner: String?)
toString
Link copied to clipboard
open override fun toString(): String