Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVPlayerMBS class.

AVPlayerMBS.ActionAtItemEnd as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The action to perform when an item has finished playing.

(Read and Write property)

AVPlayerMBS.appliesMediaSelectionCriteriaAutomatically as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Indicates whether the receiver should apply the current selection criteria automatically to AVPlayerItems.

By default, AVPlayer applies selection criteria based on system preferences. To override the default criteria for any media selection group, use setMediaSelectionCriteria method.
(Read and Write property)

AVPlayerMBS.audioOutputDeviceUniqueID as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Specifies the unique ID of the Core Audio output device used to play audio.

By default, the value of this property is nil, indicating that the default audio output device is used. Otherwise the value of this property is a string containing the unique ID of the Core Audio output device to be used for audio output.
Core Audio's kAudioDevicePropertyDeviceUID is a suitable source of audio output device unique IDs.
(Read and Write property)

AVPlayerMBS.ClosedCaptionDisplayEnabled as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Indicates whether the player uses closed captioning.

(Read and Write property)

AVPlayerMBS.currentItem as AVPlayerItemMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The player's current item. (read-only)

(Read only property)

AVPlayerMBS.currentTime as CMTimeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the current time of the current item.

(Read only property)

AVPlayerMBS.error as NSErrorMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
If the receiver's status is AVPlayerStatusFailed, this describes the error that caused the failure. (read-only)

The value of this property is an error object that describes what caused the receiver to no longer be able to play items. If the receiver's status is not AVPlayerStatusFailed, the value of this property is nil.
(Read only property)

AVPlayerMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The internal object reference.

(Read and Write property)

AVPlayerMBS.Muted as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Indicates whether the audio output of the player is muted.

(Read and Write property)

AVPlayerMBS.Playing as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 18.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether asset is playing.

Returns true when playing.
(Read only property)

AVPlayerMBS.rate as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The current rate of playback.

0.0 means "stopped", 1.0 means "play at the natural rate of the current item".
(Read and Write property)

AVPlayerMBS.status as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Indicates whether the player can be used for playback. (read-only)

When the value of this property is AVPlayerStatusFailed, you can no longer use the player for playback and you need to create a new instance to replace it. If this happens, you can check the value of the error property to determine the nature of the failure.

This property is key value observable using key-value observing.
(Read only property)

AVPlayerMBS.volume as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Indicates the current audio volume of the player.

0.0 means "silence all audio," 1.0 means "play at the full volume of the current item."
(Read and Write property)

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


The biggest plugin in space...