---
title: AVMetricPlaybackModeSwitchEvent
framework: avfoundation
role: symbol
role_heading: Class
path: avfoundation/avmetricplaybackmodeswitchevent
---

# AVMetricPlaybackModeSwitchEvent

Represents a change in playback state, entering one of AVMetricPlaybackMode

## Declaration

```swift
class AVMetricPlaybackModeSwitchEvent
```

## Overview

Overview Subclasses of this type that are used from Swift must fulfill the requirements of a Sendable type.

## Topics

### Identifying the playback mode

- [mode](avfoundation/avmetricplaybackmodeswitchevent/mode.md)

## Relationships

### Inherits From

- [AVMetricEvent](avfoundation/avmetricevent.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Playback mode

- [AVMetricPlaybackMode](avfoundation/avmetricplaybackmode.md)
