Platforms to show: All Mac Windows Linux Cross-Platform

AVFoundationMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The central AVFoundation class for receiving events and getting constants.

All events from AVFoundation classes (delegates, notifications) are routed to your subclass of AVFoundationMBS.
Events received on a helper thread a routed to main thread in order to allow you to use Xojo code which is not thread safe.
Please use available property on classes to check if they are available. Some classes are only for Mac OS X 10.8 or future versions.

If you need some new methods/classes in AVFoundation from Mac OS X 10.10 or newer, please email us.

This class has no sub classes.

Some examples using this class:

Blog Entries

Xojo Developer Magazine

Release notes

  • Version 21.2
  • Version 20.5
    • Changed playerSeekToDateFinished and playerItemSeekToDateFinished events in AVFoundationMBS class to pass date parameter as variant as it may be a DateTime or Date depending on what method you called before.
  • Version 19.0
    • Added AVVideoCodecTypeAppleProRes422, AVVideoCodecTypeAppleProRes4444, AVVideoCodecTypeH264, AVVideoCodecTypeHEVC, and AVVideoCodecTypeJPEG functions to AVFoundationMBS class.
  • Version 18.3
    • Fixed issue with AVFoundationMBS where the plugin would return the right Xojo object for a AV* object.
  • Version 17.3

The items on this page are in the following plugins: MBS AVFoundation Plugin.


AVEdgeWidthsMBS   -   AVFragmentedMovieMBS


The biggest plugin in space...