NavigationBasicGesturesHandler

class NavigationBasicGesturesHandler(navigationCamera: NavigationCamera) : CameraAnimationsLifecycleListener

Provides a basic support in reacting to map gesture interaction and other animations scheduled outside of the NavigationCamera context.

Whenever any gesture input is registered or any other transition is started, the NavigationCamera will immediately fallback to NavigationCameraState.IDLE state to avoid running competing animations.

To initialize the handler, register it via CameraAnimationsPlugin.addCameraAnimationsLifecycleListener. To deinitialize, call CameraAnimationsPlugin.removeCameraAnimationsLifecycleListener.

Constructors

NavigationBasicGesturesHandler
Link copied to clipboard
fun NavigationBasicGesturesHandler(navigationCamera: NavigationCamera)

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
open override fun onAnimatorCancelling(type: CameraAnimatorType, animator: ValueAnimator, owner: String?)
Called when animator is about to start.
onAnimatorEnding
Link copied to clipboard
open override fun onAnimatorEnding(type: CameraAnimatorType, animator: ValueAnimator, owner: String?)
Called when animator is about to cancel already running animator of same CameraAnimatorType.
onAnimatorInterrupting
Link copied to clipboard
open override fun onAnimatorInterrupting(type: CameraAnimatorType, runningAnimator: ValueAnimator, runningAnimatorOwner: String?, newAnimator: ValueAnimator, newAnimatorOwner: String?)
Called when animator is about to end.
onAnimatorStarting
Link copied to clipboard
open override fun onAnimatorStarting(type: CameraAnimatorType, animator: ValueAnimator, owner: String?)
Called when ValueAnimator is about to cancel.
toString
Link copied to clipboard
open fun toString(): String