Instance Method

getEnabledStatusForExtensionWithIdentifier:completionHandler:

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

Declaration

- (void)getEnabledStatusForExtensionWithIdentifier:(NSString *)identifier completionHandler:(void (^)(CXCallDirectoryEnabledStatus enabledStatus, NSError *error))completion;

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 CXCallDirectoryEnabledStatus.

error

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

See Also

Working with a Call Directory App Extension

- reloadExtensionWithIdentifier:completionHandler:

Asynchronously reloads the extension with the specified identifier.

CXCallDirectoryEnabledStatus

The enabled status of a Call Directory app extension, as reported by the getEnabledStatusForExtensionWithIdentifier:completionHandler: method.