7 #pragma once // NOLINT(build/header_guard)
10 #include "AgoraRefPtr.h"
14 class IScreenCaptureObserver;
20 #if defined(TARGET_OS_MAC) && !TARGET_OS_IPHONE
38 virtual int initWithDisplayId(view_t displayId,
const Rectangle& regionRect) = 0;
57 virtual int initWithScreenRect(
const Rectangle& screenRect,
59 #endif // TARGET_OS_MAC && !TARGET_OS_IPHONE
111 #if defined(__ANDROID__)
128 virtual int initWithMediaProjectionPermissionResultData(
void* data,
130 #endif // __ANDROID__