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.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Inheritors

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