Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSSoundDelegateMBS class.

NSSoundDelegateMBS.SoundFinished(s as NSSoundMBS, didFinishPlaying as boolean)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa MBS MacBase Plugin 9.4 ✅ Yes ❌ No ❌ No ❌ No
This delegate method is called when an NSSoundMBS instance has completed playback of its sound data.

s: The NSSound that has completed playback of its sound data.

didFinishPlaying: True when playback was successful; false otherwise.

The parameter s is not the NSSoundMBS object you used before but a new one. But it has the same handle value as the one where you called play, so you can still compare which one was affected.

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


The biggest plugin in space...