ACSRemoteParticipant 类

声明

@interface ACSRemoteParticipant : NSObject;

说明

描述呼叫中的远程参与者

方法

属性

delegate

提供用于接收来自此 ACSRemoteParticipant 实例的事件的对象。

@property(nonatomic, assign) id<ACSRemoteParticipantDelegate> delegate;

标识符

远程参与者的标识符

@property(nonatomic, readonly, nonnull) id<CommunicationIdentifier> identifier;

callParticipantRole

远程参与者的角色

@property (readonly) ACSCallParticipantRole callParticipantRole;

displayName

仅限个人预览版:远程参与者的显示名称

@property (retain, nonnull, readonly) NSString * displayName;

isMuted

如果远程参与者处于静音状态,则其值为 True

@property (readonly) BOOL isMuted;

isSpeaking

如此 如果远程参与者说话。 仅适用于多方调用

@property (readonly) BOOL isSpeaking;

callEndReason

参与者离开呼叫的原因,包含代码/子代码。

@property (retain, nonnull, readonly) ACSCallEndReason * callEndReason;

state

远程参与者的当前状态

@property (readonly) ACSParticipantState state;

videoStreams

远程视频流当前呼叫的一部分

@property (copy, nonnull, readonly) NSArray<ACSRemoteVideoStream *> * videoStreams DEPRECATED_MSG_ATTRIBUTE("Use incomingVideoStreams instead");

incomingVideoStreams

获取当前调用中的传入流列表。

@property (copy, nonnull, readonly) NSArray<ACSIncomingVideoStream *> * incomingVideoStreams;