AudioTranscriber.ModelArchitecture

public enum AudioTranscriber.ModelArchitecture


Model architecture backend family for AudioTranscriber.

Summary

Enum Values

AUTO

Automatically infer the model architecture from the model asset.

OMNI

Open-weight ASR models executed via the LiteRT Omni ASR runtime.

Public methods

static AudioTranscriber.ModelArchitecture

Returns the enum constant of this type with the specified name.

static AudioTranscriber.ModelArchitecture[]

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

AUTO

AudioTranscriber.ModelArchitecture AudioTranscriber.ModelArchitecture.AUTO

Automatically infer the model architecture from the model asset.

OMNI

AudioTranscriber.ModelArchitecture AudioTranscriber.ModelArchitecture.OMNI

Open-weight ASR models executed via the LiteRT Omni ASR runtime.

Public methods

valueOf

public static AudioTranscriber.ModelArchitecture valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns
AudioTranscriber.ModelArchitecture

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

public static AudioTranscriber.ModelArchitecture[] values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Returns
AudioTranscriber.ModelArchitecture[]

an array containing the constants of this enum type, in the order they're declared