Platforms to show: All Mac Windows Linux Cross-Platform
AVQueuePlayerMBS class
Super class: AVPlayerMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Subclass of the AVPlayerMBS class.
- 9 methods
- method advanceToNextItem
- method appendItem(item as AVPlayerItemMBS)
- method canAppendItem(item as AVPlayerItemMBS) as boolean
- method canInsertItem(item as AVPlayerItemMBS, afterItem as AVPlayerItemMBS = nil) as boolean
- method Constructor(items() as AVPlayerItemMBS)
- method insertItem(item as AVPlayerItemMBS, afterItem as AVPlayerItemMBS = nil)
- method items as AVPlayerItemMBS()
- method removeAllItems
- method removeItem(item as AVPlayerItemMBS)
- shared method queuePlayerWithItems(items() as AVPlayerItemMBS) as AVQueuePlayerMBS
Super class AVPlayerMBS
- 13 properties
- property ActionAtItemEnd as Integer
- property appliesMediaSelectionCriteriaAutomatically as Boolean
- property audioOutputDeviceUniqueID as String
- property ClosedCaptionDisplayEnabled as boolean
- property currentItem as AVPlayerItemMBS
- property currentTime as CMTimeMBS
- property error as NSErrorMBS
- property Handle as Integer
- property Muted as boolean
- property Playing as Boolean
- property rate as Double
- property status as Integer
- property volume as Double
- 20 methods
- method addBoundaryTimeObserverForTime(time as CMTimeMBS, tag as variant = nil) as AVPlayerTimeObserverMBS
- method addBoundaryTimeObserverForTimes(times() as CMTimeMBS, tag as Variant = nil) as AVPlayerTimeObserverMBS
- method addLoopTimeObserver(atTime as CMTimeMBS, jumpToTime as CMTimeMBS) as AVPlayerTimeObserverMBS
- method addPeriodicTimeObserverForInterval(interval as CMTimeMBS, tag as Variant = nil) as AVPlayerTimeObserverMBS
- method cancelPendingPrerolls
- method Constructor
- method Constructor(File as folderitem)
- method Constructor(item as AVPlayerItemMBS)
- method Constructor(URL as string)
- method mediaSelectionCriteriaForMediaCharacteristic(mediaCharacteristic as string) as AVPlayerMediaSelectionCriteriaMBS
- method pause
- method play
- method prerollAtRate(rate as Double, tag as Variant)
- method replaceCurrentItemWithPlayerItem(item as AVPlayerItemMBS)
- method seekToDate(date as date, fireEvent as boolean = false, tag as Variant = nil)
- method seekToDate(date as dateTime, fireEvent as boolean = false, tag as variant = nil)
- method seekToTime(time as CMTimeMBS, fireEvent as boolean = false, tag as Variant = nil)
- method seekToTime(time as CMTimeMBS, toleranceBefore as CMTimeMBS, toleranceAfter as CMTimeMBS, fireEvent as boolean = false, tag as Variant = nil)
- method setMediaSelectionCriteria(criteria as AVPlayerMediaSelectionCriteriaMBS, mediaCharacteristic as string)
- method setRate(rate as Double, time as CMTimeMBS, HostTime as CMTimeMBS)
- 5 shared methods
- shared method available as boolean
- shared method playerWithFile(File as folderitem) as AVPlayerMBS
- shared method playerWithPlayerItem(item as AVPlayerItemMBS) as AVPlayerMBS
- shared method playerWithURL(URL as string) as AVPlayerMBS
- shared method removeTimeObserver(observer as AVPlayerTimeObserverMBS)
- 6 constants
Actions for the item end Constants
Constant | Value | Description |
---|---|---|
AVPlayerActionAtItemEndAdvance | 0 |
Indicates that the player should advance to the next item, if there is one. |
AVPlayerActionAtItemEndNone | 2 |
Indicates that the player should do nothing. |
AVPlayerActionAtItemEndPause | 1 |
Indicates that the player should pause playing. |
Status Constants
Constant | Value | Description |
---|---|---|
AVPlayerStatusFailed | 2 |
Indicates that the player can no longer play AVPlayerItem instances because of an error. The error is described by the value of the player's error property. |
AVPlayerStatusReadyToPlay | 1 |
Indicates that the player is ready to play AVPlayerItem instances. |
AVPlayerStatusUnknown | 0 |
Indicates that the status of the player is not yet known because it has not tried to load new media resources for playback. |
This class has no sub classes.
Some methods using this class:
- AVPlayerLooperMBS.Constructor(player as AVQueuePlayerMBS, item as AVPlayerItemMBS)
- AVPlayerLooperMBS.Constructor(player as AVQueuePlayerMBS, item as AVPlayerItemMBS, loopRange as CMTimeRangeMBS)
Blog Entries
Release notes
- Version 22.3
- Added AVPlayerLooperMBS class to loop items playing in AVQueuePlayerMBS class.
The items on this page are in the following plugins: MBS AVFoundation Plugin.
AVPlayerTimeObserverMBS - AVRouteDetectorMBS