Example usage for Java com.badlogic.gdx.audio Music fields, constructors, methods, implement or subclass
The text is from its open source code.
void | dispose() Needs to be called when the Music is no longer needed. |
float | getVolume() |
boolean | isPlaying() |
void | pause() Pauses the play back. |
void | play() Starts the play back of the music stream. |
void | setLooping(boolean isLooping) Sets whether the music stream is looping. |
void | setOnCompletionListener(OnCompletionListener listener) Register a callback to be invoked when the end of a music stream has been reached during playback. |
void | setVolume(float volume) Sets the volume of this music stream. |
void | stop() Stops a playing or paused Music instance. |