TextFormat Class

public final class TextFormat
extends ExpandableStringEnum<TextFormat>

Specifies the text format of transcription.

Field Summary

Modifier and Type Field and Description
static final TextFormat DISPLAY

Display.

Constructor Summary

Constructor Description
TextFormat()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TextFormat value.

Method Summary

Modifier and Type Method and Description
static TextFormat fromString(String name)

Creates or finds a TextFormat from its string representation.

static Collection<TextFormat> values()

Gets known TextFormat values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISPLAY

public static final TextFormat DISPLAY

Display.

Constructor Details

TextFormat

@Deprecated
public TextFormat()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TextFormat value.

Method Details

fromString

public static TextFormat fromString(String name)

Creates or finds a TextFormat from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding TextFormat.

values

public static Collection<TextFormat> values()

Gets known TextFormat values.

Returns:

known TextFormat values.

Applies to