Platforms to show: All Mac Windows Linux Cross-Platform
DesktopAVRoutePickerViewControlMBS control
See also classic control: AVRoutePickerViewControlMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
control | AVFoundation | MBS AVFoundation Plugin | 21.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Available on MacOS 10.15 or newer.
- 17 events
- event BoundsChanged
- event Closing
- event ConstructContextualMenu(base as DesktopMenuItem, x as Integer, y as Integer) As Boolean
- event ContextualMenuItemSelected(selectedItem As DesktopMenuItem) As Boolean
- event didCloseContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS) New in 24.1
- event DidEndPresentingRoutes
- event FocusLost
- event FocusReceived
- event FrameChanged
- 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 Opening
- event ScaleFactorChanged(NewFactor as double)
- event WillBeginPresentingRoutes
- event willShowContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS) New in 24.1
- 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. |
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.
DesktopAVPlayerViewControlMBS - DesktopIKCameraDeviceViewControlMBS