Class

CXCallDirectoryExtensionContext

A programmatic interface for adding identification and blocking entries to a Call Directory app extension.

Declaration

@interface CXCallDirectoryExtensionContext : NSExtensionContext

Overview

CXCallDirectoryExtensionContext objects are not initialized directly, but are instead passed as arguments to the CXCallDirectoryProvider instance method beginRequestWithExtensionContext:.

Topics

Setting the Delegate

delegate

Sets a delegate that can handle request failures for the Call Directory extension context object.

Adding Entries

- addIdentificationEntryWithNextSequentialPhoneNumber:label:

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

- addBlockingEntryWithNextSequentialPhoneNumber:

Adds a blocking entry with the specified phone number.

Completing Requests

- completeRequestWithCompletionHandler:

Completes the request to the extension context.

Instance Properties

Relationships

Inherits From

See Also

Caller ID

CXCallDirectoryProvider

The principal object for a Call Directory app extension for a host app.

CXCallDirectoryExtensionContextDelegate

A collection of methods that are called by a Call Directory extension context object when a request fails.

CXCallDirectoryManager

The programmatic interface to an object that manages a Call Directory app extension.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software