#include <IAgoraRtcEngine.h>
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 windows and screens.
- Note
- This method applies to macOS and Windows only.
- Returns
- The number of shareable windows 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.
- Note
- This method applies to macOS and Windows only.
- Parameters
-
| index | The index of the specified shareable window or screen. The value range is [0, getCount ()). |
- Returns
ScreenCaptureSourceInfo
◆ release()
| virtual void agora::rtc::IScreenCaptureSourceList::release |
( |
| ) |
|
|
pure virtual |