The IScreenCaptureSourceList class. This class is returned in the getScreenCaptureSources method.
◆ ~IScreenCaptureSourceList()
virtual agora::rtc::IScreenCaptureSourceList::~IScreenCaptureSourceList |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ getCount()
virtual unsigned int agora::rtc::IScreenCaptureSourceList::getCount |
( |
| ) |
|
|
pure virtual |
Gets the number of shareable cpp and screens.
- Returns
- The number of shareable cpp and screens.
◆ getSourceInfo()
Gets information about the specified shareable window or screen.
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.
- Parameters
-
index | The index of the specified shareable window or screen. The value range is [0, getCount()). |
- Returns
- ScreenCaptureSourceInfo The information of the specified window or screen.
◆ release()
virtual void agora::rtc::IScreenCaptureSourceList::release |
( |
| ) |
|
|
pure virtual |