demo/sdk_demo_v2/CustomizedUIRecordMgr.cpp
bool CustomizedUIRecordMgr::CanTheUserStartLocalRecording(unsigned int userid)
{
	GetRecordController();
	if (!m_pRecordController){
		return false;
	}

	ZOOM_SDK_NAMESPACE::SDKError rtn;
	rtn = m_pRecordController->CanStartRecording(false, userid);
	if (rtn == ZOOM_SDK_NAMESPACE::SDKERR_SUCCESS){
		return true;
	}else {
		return false;
	}
}
/*
*Func:Determine if the specified user is enabled to start local recording.
*     when userid=0, the api determine current logined user!
*/
Determine if the specified user is enabled to start local recording.
when userid=0, the api determine current logined user!
Determine if the specified user is enabled to start local recording . when userid = 0 the api determine current logined user!
bool CustomizedUIRecordMgr::CanTheUserStartLocalRecording(unsigned int userid)
{
	GetRecordController();
	if (!m_pRecordController){
		return false;
	}
	ZOOM_SDK_NAMESPACE::SDKError rtn;
	rtn = m_pRecordController->CanStartRecording(false, userid);
	if (rtn == ZOOM_SDK_NAMESPACE::SDKERR_SUCCESS){
		return true;
	}else {
		return false;
	}
}
bool CustomizedUIRecordMgr :: CanTheUserStartLocalRecording ( unsigned int userid ) { GetRecordController ( ) ; if ( ! m_pRecordController ) { return false ; } ZOOM_SDK_NAMESPACE :: SDKError rtn ; rtn = m_pRecordController -> CanStartRecording ( false , userid ) ; if ( rtn == ZOOM_SDK_NAMESPACE :: SDKERR_SUCCESS ) { return true ; } else { return false ; } }
Func:Determine if the specified user is enabled to start local recording.
Func : Determine if the specified user is enabled to start local recording .