---
title: AVCustomRoutingEventReason
framework: avrouting
role: symbol
role_heading: Enumeration
path: avrouting/avcustomroutingeventreason
---

# AVCustomRoutingEventReason

Values that indicate the reason for a routing event.

## Declaration

```swift
enum AVCustomRoutingEventReason
```

## Topics

### Reasons

- [AVCustomRoutingEventReason.activate](avrouting/avcustomroutingeventreason/activate.md)
- [AVCustomRoutingEventReason.deactivate](avrouting/avcustomroutingeventreason/deactivate.md)
- [AVCustomRoutingEventReason.reactivate](avrouting/avcustomroutingeventreason/reactivate.md)

### Initializers

- [init(rawValue:)](avrouting/avcustomroutingeventreason/init(rawvalue:).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

### Inspecting an event

- [route](avrouting/avcustomroutingevent/route.md)
- [AVCustomDeviceRoute](avrouting/avcustomdeviceroute.md)
- [reason](avrouting/avcustomroutingevent/reason.md)
