AgoraScreenCaptureConfiguration

  • macOS

更新时间不可用

配置屏幕采集参数。

Objective-C
__attribute__((visibility("default"))) @interface AgoraScreenCaptureConfiguration: NSObject
@property(assign, nonatomic) BOOL isCaptureWindow;
@property(assign, nonatomic) UInt32 displayId;
@property(assign, nonatomic) UInt32 windowId;
@property(strong, nonatomic) AgoraScreenCaptureParameters* _Nonnull params;
@property(assign, nonatomic) CGRect regionRect;
@end

属性

参数名描述
isCaptureWindow

是否采集屏幕上的窗口:

  • YES:采集窗口。
  • NO:(默认)采集整个屏幕,而非窗口。
displayId

屏幕的显示 ID。

注: 该参数仅在 macOS 上采集屏幕时生效。

windowId

窗口 ID。

注: 该参数仅在采集窗口时生效。

params

屏幕采集的配置参数,详见 AgoraScreenCaptureParameters。

regionRect

共享区域相对于整个屏幕的位置。

表格内容超出当前宽度,可横向滚动查看更多列。

这个页面有帮助吗?