ViewportData

data 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
fun ViewportData(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.