---
title: AVMetricPlaybackMode
framework: avfoundation
role: symbol
role_heading: Enumeration
path: avfoundation/avmetricplaybackmode
---

# AVMetricPlaybackMode

These constants are the possible playback modes returned by the property “mode” on AVMetricPlaybackModeSwitchEvent

## Declaration

```swift
enum AVMetricPlaybackMode
```

## Topics

### Creating a playback mode

- [init(rawValue:)](avfoundation/avmetricplaybackmode/init(rawvalue:).md)

### Playback modes

- [AVMetricPlaybackMode.local](avfoundation/avmetricplaybackmode/local.md)
- [AVMetricPlaybackMode.airPlayVideo](avfoundation/avmetricplaybackmode/airplayvideo.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Playback mode

- [AVMetricPlaybackModeSwitchEvent](avfoundation/avmetricplaybackmodeswitchevent.md)
