#

| Chapter 18 java.applet Reference |

# AudioClip

## Name

AudioClip

##

## Description

`AudioClip` is an interface for playing audio files.

## Interface Definition

    public abstract interface java.applet.AudioClip {
      // Interface Methods
      public abstract void loop();
      public abstract void play();
      public abstract void stop();
    }

## Interface Methods

### loop

#### public abstract void loop()

Description

  Plays an audio clip continuously.

### play

#### public abstract void play()

Description

  Plays an audio clip once from the beginning.

### stop

#### public abstract void stop()

Description

  Stops playing an audio clip.

## See Also

`Object`

AppletStub |  | AWTError