FramingSetting

abstract class FramingSetting : Setting

Target framing setting.

Allows to configure positioning of the tracked target in the drone video stream.

Functions

Link copied to clipboard
@FloatRange(from = 0, to = 1)
abstract fun getHorizontalPosition(): Double
Retrieves current target horizontal framing position.
Link copied to clipboard
@FloatRange(from = 0, to = 1)
abstract fun getVerticalPosition(): Double
Retrieves current target vertical framing position.
Link copied to clipboard
abstract fun isUpdating(): Boolean
Tells whether the setting is updating.
Link copied to clipboard
abstract fun setPosition(@FloatRange(from = 0, to = 1) horizontalPosition: Double, @FloatRange(from = 0, to = 1) verticalPosition: Double)
Sets target framing position.