Recognizer Class

Definition

Defines the base class Recognizer which mainly contains common event handlers. Note: close() must be called in order to release underlying resources held by the object.

public class Recognizer
Inheritance
java.lang.Object
AutoCloseable
Recognizer

Fields

sessionStarted

Defines event handler for session started event.

sessionStopped

Defines event handler for session stopped event.

speechEndDetected

Defines event handler for speech end detected event.

speechStartDetected

Defines event handler for speech start detected event.

Methods

close()

Dispose of associated resources. Note: close() must be called in order to release underlying resources held by the object.

Applies to