다음을 통해 공유


ACSSpotlightCallFeature 클래스

선언

@interface ACSSpotlightCallFeature : ACSCallFeature;

Description

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

메서드

cancelAllSpotlights

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

-(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 instance 이벤트를 수신하기 위해 제공하는 개체입니다.

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

maxSpotlightedParticipants

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

@property (readonly) int maxSpotlightedParticipants;

spotlightedParticipants

모든 추천 참가자 목록을 가져오기 위한 요청 보내기

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