Platforms to show: All Mac Windows Linux Cross-Platform
AVCaptureViewControlMBS control
See also desktop control: DesktopAVCaptureViewControlMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
control | AVFoundation | MBS AVFoundation Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
AVCaptureView is a subclass of NSView that can be used to display standard user interface controls for capturing media data.
MBS Plugin wraps this as a control for Xojo.
Please notice this is 64-bit only and requires MacOS 10.9 or newer.
- 21 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 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 startRecordingToFileOutput(fileOutput as AVCaptureFileOutputMBS)
- event willShowContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS)
- 5 properties
- property controlsStyle as Integer
- property fileOutput as AVCaptureFileOutputMBS
- property session as AVCaptureSessionMBS
- property videoGravity as String
- property View as NSViewMBS
- method setSession(session as AVCaptureSessionMBS, showVideoPreview as boolean, showAudioPreview as boolean)
- shared method Available as Boolean
- 4 constants
Constants Groups
Constant | Value | Description |
---|---|---|
ControlsStyleDefault | 0 |
The default controls pane is associated with the view. |
ControlsStyleFloating | 1 |
The floating controls pane for media recordings is associated with the view. |
ControlsStyleInline | 0 |
The inline controls pane for media recording is associated with the view. |
ControlsStyleInlineDeviceSelection | 2 |
The inline controls pane for selection capture devices is associated with the view. |
Blog Entries
- MBS Xojo Plugins, version 22.0pr8
- News from the MBS Xojo Plugins in version 21.5
- New desktop controls
- AVCaptureVideoDataOutput improvements
- MBS Xojo Plugins 18.3
- MBS Xojo Plugins, version 18.3pr2
Xojo Developer Magazine
Videos
- Presentation from Munich conference about MBS Plugins.
- Presentation from Xojo Developer Conference 2019 in Miami.
Release notes
- Version 22.0
- Fixed AVCaptureViewControlMBS control to not crash IDE.
- Version 18.3
- Added AVCaptureViewControlMBS and AVPlayerViewControlMBS controls (64bit only).
The items on this page are in the following plugins: MBS AVFoundation Plugin.
ABPersonViewControlMBS - AVPlayerViewControlMBS