Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public enum AudioContextState

  1. Object
  2. Enum<AudioContextState>
  3. AudioContextState

ImplementsComparable<AudioContextState>

The life cycle state of an audio context.

Enum constants

SUSPENDEDRendering is paused; BaseAudioContext.getCurrentTime() does not advance.
RUNNINGThe context is rendering audio.
CLOSEDThe context was closed and released its resources.

Methods

public static AudioContextState[] values()
public static AudioContextState valueOf(String name)

Inherited methods

Enum constant details

SUSPENDED

SUSPENDED
Rendering is paused; BaseAudioContext.getCurrentTime() does not advance.

RUNNING

RUNNING
The context is rendering audio.

CLOSED

CLOSED
The context was closed and released its resources. It cannot be resumed.

Method details

values

public static AudioContextState[] values()

valueOf

public static AudioContextState valueOf(String name)