ViewportData

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

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

Constructors

ViewportData
Link copied to clipboard
fun ViewportData(cameraForFollowing: CameraOptions, cameraForOverview: CameraOptions)

Functions

component1
Link copied to clipboard
operator fun component1(): CameraOptions
component2
Link copied to clipboard
operator fun component2(): CameraOptions
copy
Link copied to clipboard
fun copy(cameraForFollowing: CameraOptions, cameraForOverview: CameraOptions): ViewportData
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

cameraForFollowing
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.
cameraForOverview
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.