Instance Method

reportNewIncomingCallWithUUID:update:completion:

Reports a new incoming call with the specified unique identifier to the provider.

Declaration

- (void)reportNewIncomingCallWithUUID:(NSUUID *)UUID update:(CXCallUpdate *)update completion:(void (^)(NSError *error))completion;

Parameters

UUID

The unique identifier of the call.

update

The information for the call.

completion

A block to be executed once the call is allowed or disallowed by the system. The block is executed on the delegate queue set by the setDelegate:queue: method, or on a private serial queue if none is specified.

error

If an error occurred, an error object indicating that the call was disallowed by the system, otherwise nil.

Discussion

An incoming call may be disallowed by the system if, for example, the caller handle is blocked, or the user has Do Not Disturb enabled.

See Also

Reporting Calls

- reportOutgoingCallWithUUID:startedConnectingAtDate:

Reports to the provider that an outgoing call with the specified unique identifier started connecting at a particular time.

- reportOutgoingCallWithUUID:connectedAtDate:

Reports to the provider that an outgoing call with the specified unique identifier finished connecting at a particular time.

- reportCallWithUUID:updated:

Reports to the provider that an active call updated its information.

- reportCallWithUUID:endedAtDate:reason:

Reports to the provider that a call with the specified identifier ended at a given date for a particular reason.