ViewportData
class ViewportData @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX] ) constructor(val cameraForFollowing: CameraOptions, val cameraForOverview: CameraOptions, val cameraForPointsOverview: CameraOptions = cameraForOverview)
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)
Creates a ViewportData for sources that do not distinguish points overview: cameraForPointsOverview is set to cameraForOverview.
constructor(cameraForFollowing: CameraOptions, cameraForOverview: CameraOptions, cameraForPointsOverview: CameraOptions = cameraForOverview)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Target camera frame to use for the points overview (framing an arbitrary set of points), which is reported publicly as OVERVIEW.