AgoraScreenCaptureSourceInfo Class Reference

Inherits from NSObject
Declared in AgoraObjects.h

Overview

AgoraScreenCaptureSourceInfo 接口

  type

共享目标的类型。详见 AgoraScreenCaptureSourceType

@property (assign, nonatomic) AgoraScreenCaptureSourceType type

Declared In

AgoraObjects.h

  sourceId

对于窗口,表示窗口 ID(Window ID);对于屏幕,表示屏幕 ID(Display ID)。

@property (assign, nonatomic) CGWindowID sourceId

Declared In

AgoraObjects.h

  sourceName

窗口或屏幕的名称。UTF-8 编码。

@property (copy, nonatomic) NSString *sourceName

Declared In

AgoraObjects.h

  thumbImage

缩略图的图像内容。详见 AgoraThumbImageBuffer。

@property (strong, nonatomic) AgoraThumbImageBuffer *thumbImage

Declared In

AgoraObjects.h

  iconImage

图标的图像内容。详见 AgoraThumbImageBuffer。

@property (strong, nonatomic) AgoraThumbImageBuffer *iconImage

Declared In

AgoraObjects.h

  processPath

窗口所属的进程。UTF-8 编码。

@property (copy, nonatomic) NSString *processPath

Declared In

AgoraObjects.h

  sourceTitle

窗口标题。UTF-8 编码。

@property (copy, nonatomic) NSString *sourceTitle

Declared In

AgoraObjects.h

  primaryMonitor

屏幕是否为主显示屏:

@property (assign, nonatomic) BOOL primaryMonitor

Discussion

  • YES:是。
  • NO:否。

Declared In

AgoraObjects.h