相机能力集管理器
class CameraAbilitySetManager
描述: 相机能力集管理类
class CameraAbilitySetManager : ICameraAbilitySetManager {
/**
*获取云台集合
*/
override fun getGimbals(gimbalType: GimbalTypeEnum?): Map<LensTypeEnum, Int>
/**
* 获取镜头类型列表
*/
override fun getLensList(type: GimbalTypeEnum?): List<LensTypeEnum>?
/**
* 获取镜头ID
*/
override fun getLenId(lensType: LensTypeEnum, gimbalDeviceType: GimbalTypeEnum?): Int?
/**
* 根据ID获取镜头
*/
override fun getLensTypeById(id: Int, gimbalDeviceType: GimbalTypeEnum?): LensTypeEnum?
/**
* 云台是否包含当前镜头
*/
override fun isContainLensType(lensType: LensTypeEnum, gimbalDeviceType: GimbalTypeEnum?): Boolean
/**
* 设置相机支持对象
*/
override fun setCameraSupport(cameraSupport: ICameraSupport2)
/**
* 获取相机支持对象
*/
override fun getCameraSupport(): ICameraSupport?
/**
* 获取相机支持对象
*/
override fun getCameraSupport2(): ICameraSupport2?
/**
* 云台是否存在广角
*/
override fun hasWideAngle(gimbalDeviceType: String): Boolean
/**
* 获取当前变焦类型
*/
override fun getVideoZoomType(): VideoZoomTypeEnum
/**
* 获取当前相机模式(视频或拍照)的相机变焦范围
*/
override fun getZoomRange(lensTypeEnum: LensTypeEnum): RangeStepValue?
}