ViewportStatus

sealed class ViewportStatus

Represents the status of the viewport.

It could be either a ViewportStatus.State, ViewportStatus.Transition or ViewportStatus.Idle.

The ViewportStatus.State amd ViewportStatus.Transition have associated values that are reference types, so equality and hash are implemented in terms of the identities of those objects.

Types

Idle
Link copied to clipboard
object Idle : ViewportStatus

Represents the current status is Idle.

State
Link copied to clipboard
class State(state: ViewportState) : ViewportStatus

Represents the current status is a ViewportState.

Transition
Link copied to clipboard
class Transition(transition: ViewportTransition, toState: ViewportState) : ViewportStatus

Represents the current status is a ViewportTransition.

Inheritors

ViewportStatus
Link copied to clipboard
ViewportStatus
Link copied to clipboard
ViewportStatus
Link copied to clipboard