ViewportData

class ViewportData(val cameraForFollowing: CameraOptions, val cameraForOverview: CameraOptions)

Data object that carries the camera frames that NavigationCamera uses for transitions and continuous updates.

Constructors

Link copied to clipboard
constructor(cameraForFollowing: CameraOptions, cameraForOverview: CameraOptions)

Properties

Link copied to clipboard
val cameraForFollowing: CameraOptions

Target camera frame to use when transitioning to FOLLOWING or for continuous updates when already in FOLLOWING state.

Link copied to clipboard
val cameraForOverview: CameraOptions

Target camera frame to use when transitioning to OVERVIEW or for continuous updates when already in OVERVIEW state.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.