---
title: AVAUPresetEvent
framework: avfaudio
role: symbol
role_heading: Class
path: avfaudio/avaupresetevent
---

# AVAUPresetEvent

An object that represents a preset load and change on the music track’s destination audio unit.

## Declaration

```swift
class AVAUPresetEvent
```

## Topics

### Creating a Preset Event

- [init(scope:element:dictionary:)](avfaudio/avaupresetevent/init(scope:element:dictionary:).md)

### Configuring a Preset Event

- [scope](avfaudio/avaupresetevent/scope.md)
- [element](avfaudio/avaupresetevent/element.md)
- [presetDictionary](avfaudio/avaupresetevent/presetdictionary.md)

## Relationships

### Inherits From

- [AVMusicEvent](avfaudio/avmusicevent.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Handling Music Events

- [AVMusicEvent](avfaudio/avmusicevent.md)
- [AVMusicUserEvent](avfaudio/avmusicuserevent.md)
- [AVParameterEvent](avfaudio/avparameterevent.md)
- [AVExtendedTempoEvent](avfaudio/avextendedtempoevent.md)
- [AVExtendedNoteOnEvent](avfaudio/avextendednoteonevent.md)
