getEnabledStatusForExtension(withIdentifier:completionHandler:)
Asynchronously returns the enabled status of the extension with the specified identifier.
Declaration
func getEnabledStatusForExtension(withIdentifier identifier: String, completionHandler completion: @escaping @Sendable (CXCallDirectoryManager.EnabledStatus, (any Error)?) -> Void)func enabledStatusForExtension(withIdentifier identifier: String) async throws -> CXCallDirectoryManager.EnabledStatusParameters
- 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 Enabledstatus.
- error
If an error occurred, an error object indicating how the check failed, otherwise
nil.