7 #pragma once // NOLINT(build/header_guard)
10 #include "AgoraRefPtr.h"
14 class IScreenCaptureObserver;
20 #if defined (_WIN32) || (defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE)
38 virtual int initWithDisplayId(uint32_t displayId,
const Rectangle& regionRect) = 0;
41 #if defined(_WIN32) || (defined(__linux__) && !defined(__ANDROID__))
59 virtual int initWithScreenRect(
const Rectangle& screenRect,
61 #endif // TARGET_OS_MAC && !TARGET_OS_IPHONE
113 #if defined(__ANDROID__)
130 virtual int initWithMediaProjectionPermissionResultData(
void* data,
132 #endif // __ANDROID__