Platforms to show: All Mac Windows Linux Cross-Platform
Back to AVMIDIPlayerMBS class.
AVMIDIPlayerMBS.CurrentPosition as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Midi | MBS AVFoundation Plugin | 16.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
You can set the currentPosition of the player while the player is playing, in which case playback will resume at the new time.
Note: No range checking on the currentPosition value is done when you set it to a new value. It is your responsibility to ensure the position is valid relative to the duration.
(Read and Write property)
Some examples using this property:
AVMIDIPlayerMBS.Duration as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Midi | MBS AVFoundation Plugin | 16.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
AVMIDIPlayerMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Midi | MBS AVFoundation Plugin | 16.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read and Write property)
AVMIDIPlayerMBS.Playing as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Midi | MBS AVFoundation Plugin | 16.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The player may have reached the end of all the events in any of its tracks, but it will return true until it is stopped.
(Read only property)
AVMIDIPlayerMBS.Rate as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Midi | MBS AVFoundation Plugin | 16.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The default value is 1.0, normal playback rate.
(Read and Write property)
The items on this page are in the following plugins: MBS AVFoundation Plugin.