@Deprecated (since ="9")
public interface AudioClip
Deprecated.
The AudioClip
interface is a simple abstraction for playing a sound
clip. Multiple AudioClip
items can be playing at the same time, and
the resulting sound is mixed together to produce a composite.
Since:
1.0
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods
Modifier and Type
Method
Description
void
loop ()
Deprecated.
Starts playing this audio clip in a loop.
void
play ()
Deprecated.
Starts playing this audio clip.
void
stop ()
Deprecated.
Stops playing this audio clip.
Method Details
void play ()
Deprecated.
Starts playing this audio clip. Each time this method is called, the clip
is restarted from the beginning.
void loop ()
Deprecated.
Starts playing this audio clip in a loop.
void stop ()
Deprecated.
Stops playing this audio clip.
Java SE 14 & JDK 14 DRAFT 14-crac+0-adhoc..jdk
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2021, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy . DRAFT 14-crac+0-adhoc..jdk