AudioSource.Mode
Stay organized with collections
Save and categorize content based on your preferences.
The mode of the audio source.
Inherited Method Summary
From interface java.lang.annotation.Annotation
|
abstract Class<? extends Annotation>
|
annotationType()
|
| abstract boolean |
|
| abstract int |
hashCode()
|
|
abstract String
|
toString()
|
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-10-27 UTC.
[null,null,["Last updated 2026-10-27 UTC."],[],[]]