public class IOSMini2DxAudio extends com.badlogic.gdx.backends.iosrobovm.IOSAudio implements Mini2DxAudio
Constructor and Description |
---|
IOSMini2DxAudio(com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration config) |
Modifier and Type | Method and Description |
---|---|
void |
addSoundCompletionListener(SoundCompletionListener listener)
Adds a
SoundCompletionListener to listen for sound effect completion events |
void |
dispose()
Disposes of allocated audio resources
|
void |
removeSoundCompletionListener(SoundCompletionListener listener)
Removes a
SoundCompletionListener |
void |
update()
Updates the audio device and events
|
newAudioDevice, newAudioRecorder, newMusic, newSound
public IOSMini2DxAudio(com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration config)
public void addSoundCompletionListener(SoundCompletionListener listener)
Mini2DxAudio
SoundCompletionListener
to listen for sound effect completion eventsaddSoundCompletionListener
in interface Mini2DxAudio
listener
- The SoundCompletionListener
implementation to addpublic void removeSoundCompletionListener(SoundCompletionListener listener)
Mini2DxAudio
SoundCompletionListener
removeSoundCompletionListener
in interface Mini2DxAudio
listener
- The SoundCompletionListener
implementation to removepublic void update()
Mini2DxAudio
update
in interface Mini2DxAudio
public void dispose()
Mini2DxAudio
dispose
in interface Mini2DxAudio