SDKManager
class SDKManager
Description: This class is the MSDK entry management class, which is used for initialization and provides functions such as device connection and device management acquisition
class SDKManager private constructor() : ISDKManager {
companion object {
const val TAG = "SDKManager"
@JvmStatic
fun get(): SDKManager {
return Holder.instance
}
}
/**
* authority manager object
*/
private val authorityManager: AuthorityManager = AuthorityManager.getInstance()
/**
*camera device type
*/
var gimbalDeviceType : String = GimbalTypeEnum.XL801.value
}
method isSdkValidate
fun isSdkValidate(authorityState: AuthorityState): Boolean
Description: Checking SDK valid or not
Input parameters: authorityState: auth state object
Output parameters: true or false
Related parameters: None。
method initH265DecoderSupport
private fun initH265DecoderSupport()
Description: H256 decode support started
Input parameters: None。
Output parameters: None。
Related parameters: None。