Class Language

ru.yandex.speechkit

public  class  Language 

Available recognition languages.

Constructors

Language(@NonNull final String code)

Creates an object of the Language class with the passed string representation.

Methods

boolean equals(Object otherObject)
String getValue()

Returns a string representation of the language.

int hashCode()
String toString()

Fields

final Language ENGLISH

An object of the Language class that corresponds to English.

final Language RUSSIAN

An object of the Language class that corresponds to Russian.

final Language TURKISH

An object of the Language class that corresponds to Turkish.

final Language UKRAINIAN

An object of the Language class that corresponds to Ukrainian.

Constructor Detail

Language

public Language (@NonNull final String code)

Creates an object of the Language class with the passed string representation.

Parameters:
code

String representation of the language.

Method Detail

equals

public boolean equals (Object otherObject)

getValue

public String getValue ()

Returns a string representation of the language.

Returns:

String representation of the language.

hashCode

public int hashCode ()

toString

public String toString ()

Field Detail

ENGLISH

public static ENGLISH = new Language("en-EN")

An object of the Language class that corresponds to English.

RUSSIAN

public static RUSSIAN = new Language("ru-RU")

An object of the Language class that corresponds to Russian.

TURKISH

public static TURKISH = new Language("tr-TR")

An object of the Language class that corresponds to Turkish.

UKRAINIAN

public static UKRAINIAN = new Language("uk-UA")

An object of the Language class that corresponds to Ukrainian.