ICameraAbilitySetManager
interface ICameraAbilitySetManager
Description: Camera capability set management class
method getCameraSupport2
fun getCameraSupport2(): ICameraSupport2?
Description:Gets the camera support object.
Input parameters: None.
Output parameters: ICameraSupport2
Related parameters: ICameraSupport2
method getGimbals
fun getGimbals(gimbalTypes: GimbalTypeEnum? = null) :Map<LensTypeEnum, Int>
Description: Gets a map of gimbals.
Input parameters: gimbalTypes: Gimbal type enum [GimbalTypeEnum]
Output parameters: Mapping data of available gimbals.
Related parameters: GimbalTypeEnum,LensTypeEnum
method getLensList
fun getLensList(type: GimbalTypeEnum? = null): List<LensTypeEnum>?
Description:Gets the list of lenses.
Input parameters: type:Gimbal type enum [GimbalTypeEnum]
Output parameters: List of each lens.
Related parameters: GimbalTypeEnum,LensTypeEnum。
method getLenId
fun getLenId(lensType: LensTypeEnum, type: GimbalTypeEnum? = null): Int?
Description:Gets the lens ID.
Input parameters: lensType:Lens type enum [LensTypeEnum] type:Gimbal type enum [GimbalTypeEnum]
Output parameters: Lens ID.
Related parameters: GimbalTypeEnum,LensTypeEnum。
method hasWideAngle
fun hasWideAngle(gimbalDeviceType: String): Boolean
Description:Checks if the gimbal has a wide angle.
Input parameters: gimbalDeviceType:Gimbal type [String]
Output parameters: Whether the gimbal has a wide angle.
Related parameters: None.
method getLensTypeById
fun getLensTypeById(id: Int, type: GimbalTypeEnum? = null): LensTypeEnum?
Description:Gets the lens type by camera ID and gimbal type.
Input parameters: id:Camera ID [Int] type:Gimbal type [GimbalTypeEnum]
Output parameters: Lens type [LensTypeEnum]
Related parameters: GimbalTypeEnum,LensTypeEnum
method isContainLensType
fun isContainLensType(lensType: LensTypeEnum, gimbalDeviceType: GimbalTypeEnum? = null): Boolean
Description:Checks if the gimbal contains the current lens.
Input parameters: lensType:Lens type [LensTypeEnum] gimbalDeviceType:Gimbal type [GimbalTypeEnum]
Output parameters: Whether it contains the current lens.
Related parameters: GimbalTypeEnum,LensTypeEnum
method getVideoZoomType
fun getVideoZoomType(): VideoZoomTypeEnum
Description:Gets the current zoom type.
Input parameters: None.
Output parameters: Video zoom value key type [VideoZoomTypeEnum]
Related parameters: VideoZoomTypeEnum
method getZoomRange
fun getZoomRange(lensTypeEnum: LensTypeEnum): RangeStepValue?
Description:Gets the camera zoom range for the current camera mode (video or photo).
Input parameters: lensTypeEnum:Lens type [LensTypeEnum]
Output parameters: Camera zoom range [RangeStepValue]
Related parameters: RangeStepValue