Navigation Basic Gestures Handler
class NavigationBasicGesturesHandler(navigationCamera: NavigationCamera) : CameraAnimationsLifecycleListener
Content copied to clipboard
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
Functions
onAnimatorCancelling
Link copied to clipboard
open override fun onAnimatorCancelling(type: CameraAnimatorType, animator: ValueAnimator, owner: String?)
Content copied to clipboard
onAnimatorEnding
Link copied to clipboard
open override fun onAnimatorEnding(type: CameraAnimatorType, animator: ValueAnimator, owner: String?)
Content copied to clipboard
onAnimatorInterrupting
Link copied to clipboard
open override fun onAnimatorInterrupting(type: CameraAnimatorType, runningAnimator: ValueAnimator, runningAnimatorOwner: String?, newAnimator: ValueAnimator, newAnimatorOwner: String?)
Content copied to clipboard
onAnimatorStarting
Link copied to clipboard
open override fun onAnimatorStarting(type: CameraAnimatorType, animator: ValueAnimator, owner: String?)
Content copied to clipboard
Called when ValueAnimator is about to cancel.