Instance Method

addBlockingEntryWithNextSequentialPhoneNumber:

Adds a blocking entry with the specified phone number.

Declaration

- (void)addBlockingEntryWithNextSequentialPhoneNumber:(CXCallDirectoryPhoneNumber)phoneNumber;

Parameters

phoneNumber

The phone number to be blocked.

Discussion

When a phone number is blocked, the system telephony provider will disallow incoming calls from that phone number without displaying them to the user.

Call this method on the instance of CXCallDirectoryExtensionContext passed as an argument to the block parameter of the CXCallDirectoryProvider instance method beginRequestWithExtensionContext:.

See Also

Adding Entries

- addIdentificationEntryWithNextSequentialPhoneNumber:label:

Adds an identification entry with the specified phone number and label.