public interface SCAudioClip
Modifier and Type | Method and Description |
---|---|
boolean |
isStarted()
Determines whether this audio is started i.e.
|
void |
play()
Starts playing this audio once only.
|
void |
play(int loopInterval,
java.util.concurrent.Callable<java.lang.Boolean> loopCondition)
Starts playing this audio.
|
void |
stop()
Stops playing this audio.
|
void play()
play(int, Callable)
was invoked with a negative
loopInterval and/or null loopCondition.void play(int loopInterval, java.util.concurrent.Callable<java.lang.Boolean> loopCondition)
loopInterval
- the interval of time in milliseconds between
consecutive plays of this audio. If negative, this audio is played once
only and loopCondition is ignored.loopCondition
- a Callable which is called at the beginning
of each iteration of looped playback of this audio except the first one
to determine whether to continue the loop. If loopInterval is
negative or loopCondition is null, this audio is played
once only.void stop()
boolean isStarted()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.