Instance Method

reloadExtension(withIdentifier:completionHandler:)

Asynchronously reloads the extension with the specified identifier.

Declaration

func reloadExtension(withIdentifier identifier: String, completionHandler completion: ((Error?) -> Void)? = nil)

Parameters

identifier

The identifier for the call extension.

completion

A block to be executed when the manager is finished reloading the specified extension.

error

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

See Also

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.

enum CXCallDirectoryManager.EnabledStatus

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