다음을 통해 공유


ACSSpotlightCallFeature 클래스

선언

@interface ACSSpotlightCallFeature : ACSCallFeature;

Description

통화에서 스포트라이트 상태를 관리하기 위한 통화 기능입니다.

메서드

취소AllSpotlights

스포트라이트를 받은 모든 참가자에 대해 스포트라이트 중지 요청 보내기

-(void)cancelAllSpotlightsWithCompletionHandler:(void (^)(NSError *error))completionHandler;

매개 변수

  • completionHandler - 조작이 완료된 후 비동기적으로 호출되는 블록입니다.

반품

  • void

스포트라이트

참가자를 위한 스포트라이트를 시작합니다.

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

매개 변수

  • identifiers - 스포트라이트를 시작할 참가자.
  • completionHandler - 조작이 완료된 후 비동기적으로 호출되는 블록입니다.

cancelSpotLights

스포트라이트를 받은 참가자에 대한 스포트라이트를 취소합니다.

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

매개 변수

  • identifiers - 참가자는 스포트라이트를 취소합니다.
  • completionHandler - 조작이 완료된 후 비동기적으로 호출되는 블록입니다.

속성

delegate

이 ACSSpotlightCallFeature 인스턴스에서 이벤트를 수신하기 위해 제공하는 객체입니다.

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

maxSpotlighted참가자

스포트라이트를 받을 수 있는 최대 참가자 수를 반환하기 위한 요청 보내기

@property (readonly) int maxSpotlightedParticipants;

스포트라이트참가자

스포트라이트를 받은 모든 참가자 목록을 얻기 위한 요청 보내기

@property (copy, nonnull, readonly) NSArray<ACSSpotlightedParticipant *> * spotlightedParticipants;