Instance Method

getEnabledStatusForExtension(withIdentifier:completionHandler:)

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

Declaration

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

Parameters

identifier

The identifier for the call extension.

completion

A block to be executed when the manager is finished determining the enabled status of the specified extension.

enabledStatus

The enabled status of the extension. For possible values, see CXCallDirectoryManager.EnabledStatus.

error

If an error occurred, an error object indicating how the check failed, otherwise nil.

See Also

Working with a Call Directory App Extension

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.