---
title: AccessoryFeature
framework: accessorytransportextension
role: symbol
role_heading: Protocol
path: accessorytransportextension/accessoryfeature
---

# AccessoryFeature

A protocol that defines a capability for an accessory data provider extension.

## Declaration

```swift
protocol AccessoryFeature : Sendable, AppExtensionPoint.Capability
```

## Overview

Overview Implement this protocol to create a custom capability that your extension supports. Each feature has an associated handler type that processes events for that capability.

## Topics

### Identifying the feature

- [featureID](accessorytransportextension/accessoryfeature/featureid.md)

## Relationships

### Inherits From

- [AppExtensionPoint.Capability](extensionfoundation/appextensionpoint/capability.md)
- [Identifiable](swift/identifiable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Data and sessions

- [AccessoryMessage](accessorytransportextension/accessorymessage.md)
- [AccessorySecuritySession](accessorytransportextension/accessorysecuritysession.md)
- [TransportMessage](accessorytransportextension/transportmessage.md)
- [SecurityMessage](accessorytransportextension/securitymessage.md)
- [AccessoryTransport](accessorytransportextension/accessorytransport.md)
