Class

CXCallDirectoryManager

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

Declaration

class CXCallDirectoryManager : NSObject

Topics

Accessing the Shared Instance

class var sharedInstance: CXCallDirectoryManager

Returns the shared call directory manager instance for the app.

Working with a Call Directory App Extension

func getEnabledStatusForExtension(withIdentifier: String, completionHandler: (CXCallDirectoryManager.EnabledStatus, Error?) -> Void)

Asynchronously returns the enabled status of the extension with the specified identifier.

func reloadExtension(withIdentifier: String, completionHandler: ((Error?) -> Void)?)

Asynchronously reloads the extension with the specified identifier.

enum CXCallDirectoryManager.EnabledStatus

The enabled status of a Call Directory app extension, as reported by the getEnabledStatusForExtension(withIdentifier:completionHandler:) method.

Errors

enum CXCallDirectoryManager.EnabledStatus

The enabled status of a Call Directory app extension, as reported by the getEnabledStatusForExtension(withIdentifier:completionHandler:) method.

enum CXErrorCodeCallDirectoryManagerError.Code

Error codes for the CallKit Constants error domain.

let CXErrorDomainCallDirectoryManager: String

Domain for errors when interacting with a call directory manager. See CallKit Constants for possible error codes.

Relationships

Inherits From

Conforms To

See Also

Caller ID

class CXCallDirectoryProvider

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

class CXCallDirectoryExtensionContext

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

protocol CXCallDirectoryExtensionContextDelegate

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