[This is preliminary documentation and is subject to change.]
The event handler for when the music engine stops playing a sound
Namespace: MusicPlayerWindowAssembly: MusicPlayerWindow (in MusicPlayerWindow.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public void OnSoundStopped( ISound sound, StopEventCause cause, Object userData ) |
Visual Basic |
---|
Public Sub OnSoundStopped ( _ sound As ISound, _ cause As StopEventCause, _ userData As Object _ ) |
Visual C++ |
---|
public: virtual void OnSoundStopped( ISound^ sound, StopEventCause cause, Object^ userData ) sealed |
Parameters
- sound
- Type: ISound
the sound that was stopped
- cause
- Type: StopEventCause
the reason why the sound was stopped
- userData
- Type: System..::..Object
extra data (unused)