Skip to main content

CameraAbilitySetManager

class CameraAbilitySetManager

Description: Camera capability set management class

    class CameraAbilitySetManager : ICameraAbilitySetManager {
/**
* Retrieves a map of gimbals.
*/
override fun getGimbals(gimbalType: GimbalTypeEnum?): Map<LensTypeEnum, Int>

/**
* Retrieves a list of lens types.
*/
override fun getLensList(type: GimbalTypeEnum?): List<LensTypeEnum>?

/**
* Retrieves the lens ID.
*/
override fun getLenId(lensType: LensTypeEnum, gimbalDeviceType: GimbalTypeEnum?): Int?

/**
* Retrieves the lens type by ID.
*/
override fun getLensTypeById(id: Int, gimbalDeviceType: GimbalTypeEnum?): LensTypeEnum?

/**
* Checks if the gimbal contains the specified lens type.
*/
override fun isContainLensType(lensType: LensTypeEnum, gimbalDeviceType: GimbalTypeEnum?): Boolean

/**
* Sets the camera support object.
*/
override fun setCameraSupport(cameraSupport: ICameraSupport2)

/**
* Retrieves the camera support object.
*/
override fun getCameraSupport(): ICameraSupport?

/**
* Retrieves the advanced camera support object.
*/
override fun getCameraSupport2(): ICameraSupport2?

/**
* Checks if the gimbal has a wide-angle lens.
*/
override fun hasWideAngle(gimbalDeviceType: String): Boolean

/**
* Retrieves the current zoom type.
*/
override fun getVideoZoomType(): VideoZoomTypeEnum

/**
* Retrieves the camera zoom range for the current camera mode (video or photo).
*/
override fun getZoomRange(lensTypeEnum: LensTypeEnum): RangeStepValue?
}