---
title: MediaDevice.Capability
framework: nowplaying
role: symbol
role_heading: Structure
path: nowplaying/mediadevice/capability
---

# MediaDevice.Capability

The control capabilities of a device.

## Declaration

```swift
struct Capability
```

## Mentioned in

Publishing remote media sessions

## Overview

Overview Use this to specify what control operations a device supports. The system uses this information to enable or disable device-specific controls in the interface.

## Topics

### Type Methods

- [absoluteVolume(_:onChange:)](nowplaying/mediadevice/capability/absolutevolume(_:onchange:).md)
- [relativeVolume(onIncrement:onDecrement:)](nowplaying/mediadevice/capability/relativevolume(onincrement:ondecrement:).md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
