Java com.badlogic.gdx.audio Music fields, constructors, methods, implement or subclass

Example usage for Java com.badlogic.gdx.audio Music fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.badlogic.gdx.audio Music.

The text is from its open source code.

Implementation

com.badlogic.gdx.audio.Music has the following implementations.
Click this link to see all its implementation.

Method

voiddispose()
Needs to be called when the Music is no longer needed.
floatgetVolume()
booleanisPlaying()
voidpause()
Pauses the play back.
voidplay()
Starts the play back of the music stream.
voidsetLooping(boolean isLooping)
Sets whether the music stream is looping.
voidsetOnCompletionListener(OnCompletionListener listener)
Register a callback to be invoked when the end of a music stream has been reached during playback.
voidsetVolume(float volume)
Sets the volume of this music stream.
voidstop()
Stops a playing or paused Music instance.