demo/sdk_demo_v2/CustomizedUIRecordMgr.cpp
bool CustomizedUIRecordMgr::CanIChangeOthersRecordingPermission()
{
	GetRecordController();
	if (!m_pRecordController){
		return false;
	}

	ZOOM_SDK_NAMESPACE::SDKError rtn;
	rtn = m_pRecordController->CanAllowDisAllowLocalRecording();
	if (rtn == ZOOM_SDK_NAMESPACE::SDKERR_SUCCESS){
		return true;
	}
	return false;
}
/*
*Func:Determine if the current user own the authority to change the recording permission of the others.
*     if you're the host/cohost, of course you can!
*/
Determine if the current user own the authority to change the recording permission of the others.
if you're the host/cohost, of course you can!
Determine if the current user own the authority to change the recording permission of the others . if you ' re the host / cohost of course you can!
bool CustomizedUIRecordMgr::CanIChangeOthersRecordingPermission()
{
	GetRecordController();
	if (!m_pRecordController){
		return false;
	}
	ZOOM_SDK_NAMESPACE::SDKError rtn;
	rtn = m_pRecordController->CanAllowDisAllowLocalRecording();
	if (rtn == ZOOM_SDK_NAMESPACE::SDKERR_SUCCESS){
		return true;
	}
	return false;
}
bool CustomizedUIRecordMgr :: CanIChangeOthersRecordingPermission ( ) { GetRecordController ( ) ; if ( ! m_pRecordController ) { return false ; } ZOOM_SDK_NAMESPACE :: SDKError rtn ; rtn = m_pRecordController -> CanAllowDisAllowLocalRecording ( ) ; if ( rtn == ZOOM_SDK_NAMESPACE :: SDKERR_SUCCESS ) { return true ; } return false ; }
Func:Determine if the current user own the authority to change the recording permission of the others.
Func : Determine if the current user own the authority to change the recording permission of the others .