CameraAnimationsLifecycleListener

interface 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

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
onAnimatorCancelling
Link copied to clipboard
abstract fun onAnimatorCancelling(type: CameraAnimatorType, animator: ValueAnimator, owner: String?)
Called when ValueAnimator is about to cancel.
onAnimatorEnding
Link copied to clipboard
abstract fun onAnimatorEnding(type: CameraAnimatorType, animator: ValueAnimator, owner: String?)
Called when animator is about to end.
onAnimatorInterrupting
Link copied to clipboard
abstract fun onAnimatorInterrupting(type: CameraAnimatorType, runningAnimator: ValueAnimator, runningAnimatorOwner: String?, newAnimator: ValueAnimator, newAnimatorOwner: String?)
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?)
Called when animator is about to start.
toString
Link copied to clipboard
open fun toString(): String