<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CallKit",
  "identifier" : "/documentation/CallKit/CXCallDirectoryManager/getEnabledStatusForExtension(withIdentifier:completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "CallKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CXCallDirectoryManager(im)getEnabledStatusForExtensionWithIdentifier:completionHandler:"
  },
  "title" : "getEnabledStatusForExtension(withIdentifier:completionHandler:)"
}
-->

# getEnabledStatusForExtension(withIdentifier:completionHandler:)

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

```
func getEnabledStatusForExtension(withIdentifier identifier: String, completionHandler completion: @escaping @Sendable (CXCallDirectoryManager.EnabledStatus, (any 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`](/documentation/CallKit/CXCallDirectoryManager/EnabledStatus).
- error: If an error occurred, an error object indicating how the check failed, otherwise `nil`.

## Discussion

> Important:
> You can call this method from synchronous code using a completion handler, as shown on this page, or you can call it as an asynchronous method that has the following declaration:
> 
> ```swift
> func enabledStatusForExtension(withIdentifier identifier: String) async throws -> CXCallDirectoryManager.EnabledStatus
> ```
> 
> For information about concurrency and asynchronous code in Swift, see <doc://com.apple.documentation/documentation/Swift/calling-objective-c-apis-asynchronously>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)