AudioSource.Mode

public static abstract @interface AudioSource.Mode implements Annotation

The mode of the audio source.

Constant Summary

int ONE_SHOT One-shot mode.
int STREAMING Streaming mode.

Inherited Method Summary

Constants

public static final int ONE_SHOT

One-shot mode.

The model waits to analyze the entire audio source before generating any output.

Constant Value: 1

public static final int STREAMING

Streaming mode.

The model generates output (e.g., a transcribed sentence) continuously as the user is speaking.

Constant Value: 0