Platforms to show: All Mac Windows Linux Cross-Platform
AVRoutePickerViewControlMBS control
See also desktop control: DesktopAVRoutePickerViewControlMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
control | AVFoundation | MBS AVFoundation Plugin | 20.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Available on MacOS 10.15 or newer.
- 22 events
- event BoundsChanged
- event Close
- event Closing
- event ConstructContextualMenu(base as MenuItem, x as Integer, y as Integer) as Boolean
- event ContextualMenuAction(hitItem as MenuItem) as Boolean
- event didCloseContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS)
- event DidEndPresentingRoutes
- event EnableMenuItems
- event FocusLost
- event FocusReceived
- event FrameChanged
- event GotFocus
- event LostFocus
- event MenuBarSelected
- event MouseDown(x as Integer, y as Integer, Modifiers as Integer) As Boolean
- event MouseDrag(x as Integer, y as Integer)
- event MouseUp(x As Integer, y As Integer)
- event Open
- event Opening
- event ScaleFactorChanged(NewFactor as double)
- event WillBeginPresentingRoutes
- event willShowContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS)
- 4 properties
- property player as AVPlayerMBS
- property routePickerButtonBordered as Boolean
- property View as NSViewMBS
- property routePickerButtonColorForState(state as integer) as NSColorMBS
- property Available as Boolean
- 4 constants
Button States
Constant | Value | Description |
---|---|---|
StateActive | 2 |
Active state of the picker. The picker has this state when AirPlay is active. |
StateActiveHighlighted | 3 |
Highlighted state of the active picker. The picker has this state when it is highlighted and AirPlay is active. |
StateNormal | 0 |
Normal or default state of the picker. |
StateNormalHighlighted | 1 |
Highlighted state of the picker. The picker has this state when a mouse-down event occurs inside the button. It loses this highlight when a mouse-up event occurs. |
Some examples using this control:
Blog Entries
- News from the MBS Xojo Plugins in version 21.5
- New desktop controls
- MonkeyBread Software Releases the MBS Xojo Plugins in version 20.1
- MBS Xojo Plugins, version 20.1pr2
- Airplay related classes for AVFoundation
Xojo Developer Magazine
Videos
Release notes
- Version 20.1
- Added AVRoutePickerViewControlMBS control to pick Airplay route.
The items on this page are in the following plugins: MBS AVFoundation Plugin.
AVPlayerViewControlMBS - ButtonMBS