DefaultViewportTransition

interface DefaultViewportTransition : ViewportTransition

The default ViewportTransition that transitions viewport to the target ViewportState.

Use ViewportPlugin.makeDefaultViewportTransition to create instances of DefaultViewportTransition.

Note: Users are responsible to create the viewport transitions and keep a reference to these transitions for future operations.

Functions

run
Link copied to clipboard
abstract fun run(to: ViewportState, completionListener: CompletionListener): Cancelable

Run the ViewportTransition from current viewport to the target ViewportState.

Properties

options
Link copied to clipboard
abstract var options: DefaultViewportTransitionOptions

Describes the configuration options for the DefaultViewportTransition.