<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 11.0.0 -",
    "macOS: 10.15.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FileProviderUI",
  "identifier" : "/documentation/FileProviderUI/FPUIActionExtensionContext",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "File Provider UI"
    ],
    "preciseIdentifier" : "c:objc(cs)FPUIActionExtensionContext"
  },
  "title" : "FPUIActionExtensionContext"
}
-->

# FPUIActionExtensionContext

An extension context provided to File Provider UI extensions.

```
class FPUIActionExtensionContext
```

## Topics

### Completing the Action

[`-  completeRequest`](/documentation/FileProviderUI/FPUIActionExtensionContext/completeRequest())

Marks the action as complete.

[`-  cancelRequestWithError:`](/documentation/FileProviderUI/FPUIActionExtensionContext/cancelRequest(withError:))

Cancels the action and returns the provided error.

### Identifying the Domain

[`domainIdentifier`](/documentation/FileProviderUI/FPUIActionExtensionContext/domainIdentifier)

The identifier for the domain managed by the current file provider.

  <doc://com.apple.documentation/documentation/FileProvider/NSFileProviderDomainIdentifier>

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

### Inherits From

[`NSExtensionContext`](/documentation/Foundation/NSExtensionContext)

---

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)