public class AsynchronousSound extends Object implements Sound
| Constructor and Description |
|---|
AsynchronousSound(Sound sound,
android.os.Handler handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
long |
loop() |
long |
loop(float volume) |
long |
loop(float volume,
float pitch,
float pan) |
void |
pause() |
void |
pause(long soundId) |
long |
play() |
long |
play(float volume) |
long |
play(float volume,
float pitch,
float pan) |
void |
resume() |
void |
resume(long soundId) |
void |
setLooping(long soundId,
boolean looping) |
void |
setPan(long soundId,
float pan,
float volume) |
void |
setPitch(long soundId,
float pitch) |
void |
setVolume(long soundId,
float volume) |
void |
stop() |
void |
stop(long soundId) |
public AsynchronousSound(Sound sound, android.os.Handler handler)
public void dispose()
dispose in interface Sounddispose in interface Disposablepublic void setLooping(long soundId,
boolean looping)
setLooping in interface Soundpublic void setVolume(long soundId,
float volume)
Copyright © 2021. All rights reserved.