ACSIncomingCall Class

Declaration

@interface ACSIncomingCall : NSObject;

Description

Describes an incoming call

Methods

accept

Accept an incoming call

-(void)accept:(ACSAcceptCallOptions *)options withCompletionHandler:(void (^)(ACSCall * value, NSError *error))completionHandler;

Parameters

  • options - Options for call Accepting the call
  • completionHandler - A block to be invoked asynchronously after the operation has finished.

Returns

  • void

reject

Reject this incoming call

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

Parameters

  • completionHandler - A block to be invoked asynchronously after the operation has finished.

Returns

  • void

Properties

delegate

An object you provide to receive events from this ACSIncomingCall instance.

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

callEndReason

Describe the reason why a call has ended

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

callerInfo

Information about the caller

@property (retain, nonnull, readonly) ACSCallerInfo * callerInfo;

id

Id of the call

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

isVideoEnabled

Is incoming video enabled

@property (readonly) BOOL isVideoEnabled;