public class AudioPlayer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AudioPlayer.LoopState |
static class |
AudioPlayer.PlayState |
Constructor and Description |
---|
AudioPlayer()
Initialize our default variables
|
Modifier and Type | Method and Description |
---|---|
static AudioPlayer |
getInstance() |
AudioPlayer.LoopState |
getLoopState() |
AudioPlayer.PlayState |
getPlayState() |
void |
pause() |
void |
play(java.lang.Object obj,
boolean isLoop) |
void |
resume() |
void |
stop() |
public static AudioPlayer getInstance()
public AudioPlayer.LoopState getLoopState()
public AudioPlayer.PlayState getPlayState()
public void play(java.lang.Object obj, boolean isLoop)
public void resume()
public void pause()
public void stop()