<!--
{
  "availability" : [
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVKit",
  "identifier" : "/documentation/AVKit/AVRoutePickerView/ButtonState",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AVKit"
    ],
    "preciseIdentifier" : "c:@E@AVRoutePickerViewButtonState"
  },
  "title" : "AVRoutePickerView.ButtonState"
}
-->

# AVRoutePickerView.ButtonState

Constants that describe the available button states.

```
enum ButtonState
```

## Topics

### Creating a button state

[`init?(rawValue: Int)`](/documentation/AVKit/AVRoutePickerView/ButtonState/init(rawValue:))

### Button states

[`case normal`](/documentation/AVKit/AVRoutePickerView/ButtonState/normal)

The normal, or default, button state.

[`case normalHighlighted`](/documentation/AVKit/AVRoutePickerView/ButtonState/normalHighlighted)

The highlighted button state when a mouse-down event occurs inside the button.

[`case active`](/documentation/AVKit/AVRoutePickerView/ButtonState/active)

The button state when AirPlay is active.

[`case activeHighlighted`](/documentation/AVKit/AVRoutePickerView/ButtonState/activeHighlighted)

The highlighted button state when AirPlay is active.

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)