NERtc Linux SDK  V5.4.10
nertc::IScreenCaptureSourceList类 参考abstract

#include <nertc_engine_defines.h>

Public 成员函数

virtual unsigned int getCount ()=0
 
virtual NERtcScreenCaptureSourceInfo getSourceInfo (unsigned int index)=0
 
virtual void release ()=0
 

详细描述

The IScreenCaptureSourceList class.

自从
v5.1.0

成员函数说明

◆ getCount()

virtual unsigned int nertc::IScreenCaptureSourceList::getCount ( )
pure virtual

Gets the number of shareable windows and screens.

自从
v5.1.0
返回
The number of shareable windows and screens.

◆ getSourceInfo()

virtual NERtcScreenCaptureSourceInfo nertc::IScreenCaptureSourceList::getSourceInfo ( unsigned int  index)
pure virtual

Gets information about the specified shareable window or screen.

自从
v5.1.0

After you get IScreenCaptureSourceList, you can pass in the index value of the specified shareable window or screen to get information about that window or screen from ScreenCaptureSourceInfo.

参数
indexThe index of the specified shareable window or screen. The value range is [0,getCount()).
返回
ScreenCaptureSourceInfo

◆ release()

virtual void nertc::IScreenCaptureSourceList::release ( )
pure virtual

Releases IScreenCaptureSourceList.

自从
v5.1.0

After you get the list of shareable windows and screens, to avoid memory leaks, call release to release IScreenCaptureSourceList instead of deleting IScreenCaptureSourceList directly.


该类的文档由以下文件生成: