Super class: AVPlayerMBS
|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||AVFoundation||MBS AVFoundation Plugin||13.2||Yes||No||No||Yes, macOS only||No|
Notes: 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
- 12 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 rate as Double
- property status as Integer
- property volume as Double
- 17 methods
- method addBoundaryTimeObserverForTimes(times() as CMTimeMBS, tag as Variant = nil) 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 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
Indicates that the player should advance to the next item, if there is one.
Indicates that the player should do nothing.
Indicates that the player should pause playing.
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.
Indicates that the player is ready to play AVPlayerItem instances.
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.
The items on this page are in the following plugins: MBS AVFoundation Plugin.
MBS Xojo blog