InitializerListener interface

ru.yandex.speechkit

public  interface  InitializerListener 

The interface defines the listener callbacks that are called by the initializer.

These callback methods provide notification of the progress of initialization. The listener will be notified when the initialization process starts and finishes (successfully or with an error).

Methods

voidonError(Initializer initializer, Error error)

Called if the initialization process finished with an error.

voidonInitializerBegin(Initializer initializer)

Called when the initialization process started.

voidonInitializerDone(Initializer initializer)

Called when the initialization completes successfully.

Method descriptions

onError

public void onError (Initializer initializer, Error error)

Called if the initialization process finished with an error.

Parameters:
error

Error that occurred during initialization.

onInitializerBegin

public void onInitializerBegin (Initializer initializer)

Called when the initialization process started.

onInitializerDone

public void onInitializerDone (Initializer initializer)

Called when the initialization completes successfully.