Interface OnlineRecognizer.GetPlatformLanguagesListener

ru.yandex.speechkit

public  interface  OnlineRecognizer.GetPlatformLanguagesListener 

The interface defines callback methods that are called when getting a list of languages supported by the platform.

The object that implements the interface is notified when a result is received or an error occurs.

Methods

voidonError()

Called if an error occurred during the operation.

voidonResult(@Nullable String platformSetting, List< String > platformLanuages)

Called if the result is received.

Method Detail

onError

public void onError ()

Called if an error occurred during the operation.

onResult

public void onResult (@Nullable String platformSetting, List< String > platformLanuages)

Called if the result is received.

Parameters:
platformSetting

Platform settings.

platformLanuages

List of supported languages.