ACSCallLobby 类

声明

@interface ACSCallLobby : NSObject;

说明

描述 Teams 会议大厅的信息

方法

admitAll

允许来自 Teams 会议大厅的所有参与者

-(void)admitAllWithCompletionHandler:(void (^)(ACSAdmitAllParticipantsResult * value, NSError *error))completionHandler;

返回

  • void

参数

  • completionHandler - 在操作完成后以异步方式调用的块。

承认

允许来自 Teams 会议大厅的参与者。

-(void)admit:(NSArray<id<CommunicationIdentifier>>* _Nonnull)identifiers
withCompletionHandler:(void (^ _Nonnull)(ACSAdmitParticipantsResult* _Nullable result, NSError* _Nullable error))completionHandler;

参数

  • identifiers - 要被录取的参与者。
  • completionHandler - 在操作完成后以异步方式调用的块。

reject

拒绝来自 Teams 会议大厅的参与者。

-(void)reject:(id<CommunicationIdentifier> _Nonnull)identifier
withCompletionHandler:(void (^ _Nonnull)(NSError * _Nullable error))completionHandler;

参数

  • identifiers - 要拒绝的参与者。
  • completionHandler - 在操作完成后以异步方式调用的块。

属性

delegate

提供用于从此 ACSCallLobby 实例接收事件的对象。

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

participants

获取当前 Teams 会议大厅中的远程参与者列表。

@property (copy, nonnull, readonly) NSArray<ACSRemoteParticipant *> * participants;