Table of Contents

Class RecognitionListener

Namespace
Android.Speech
Assembly
MASES.Netdroid.dll
public class RecognitionListener : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IRecognitionListener
Inheritance
JVMBridgeBase
JVMBridgeBase<JVMBridgeListener>
JVMBridgeListener
RecognitionListener
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeListener.Dispose()
JVMBridgeListener.AutoInit
JVMBridgeListener.IsBridgeStatic
JVMBridgeListener.IsBridgeCloseable
JVMBridgeListener.IsBridgeListener
JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom(IJavaType)
JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom<T>()
JVMBridgeBase<JVMBridgeListener>.Execute<T>(params T[])
JVMBridgeBase<JVMBridgeListener>.DynBridgeClazz
JVMBridgeBase<JVMBridgeListener>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeInterface
JVMBridgeBase.IsBridgeAbstract
Extension Methods

Constructors

RecognitionListener()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public RecognitionListener()

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

OnOnBeginningOfSpeech

public Action OnOnBeginningOfSpeech { get; set; }

Property Value

Action

Remarks

If OnOnBeginningOfSpeech has a value it takes precedence over corresponding class method

OnOnBufferReceived

public Action<byte[]> OnOnBufferReceived { get; set; }

Property Value

Action<byte[]>

Remarks

If OnOnBufferReceived has a value it takes precedence over corresponding class method

OnOnEndOfSegmentedSession

public Action OnOnEndOfSegmentedSession { get; set; }

Property Value

Action

Remarks

If OnOnEndOfSegmentedSession has a value it takes precedence over corresponding class method

OnOnEndOfSpeech

public Action OnOnEndOfSpeech { get; set; }

Property Value

Action

Remarks

If OnOnEndOfSpeech has a value it takes precedence over corresponding class method

OnOnError

public Action<int> OnOnError { get; set; }

Property Value

Action<int>

Remarks

If OnOnError has a value it takes precedence over corresponding class method

OnOnEvent

public Action<int, Bundle> OnOnEvent { get; set; }

Property Value

Action<int, Bundle>

Remarks

If OnOnEvent has a value it takes precedence over corresponding class method

OnOnLanguageDetection

public Action<Bundle> OnOnLanguageDetection { get; set; }

Property Value

Action<Bundle>

Remarks

If OnOnLanguageDetection has a value it takes precedence over corresponding class method

OnOnPartialResults

public Action<Bundle> OnOnPartialResults { get; set; }

Property Value

Action<Bundle>

Remarks

If OnOnPartialResults has a value it takes precedence over corresponding class method

OnOnReadyForSpeech

public Action<Bundle> OnOnReadyForSpeech { get; set; }

Property Value

Action<Bundle>

Remarks

If OnOnReadyForSpeech has a value it takes precedence over corresponding class method

OnOnResults

public Action<Bundle> OnOnResults { get; set; }

Property Value

Action<Bundle>

Remarks

If OnOnResults has a value it takes precedence over corresponding class method

OnOnRmsChanged

public Action<float> OnOnRmsChanged { get; set; }

Property Value

Action<float>

Remarks

If OnOnRmsChanged has a value it takes precedence over corresponding class method

OnOnSegmentResults

public Action<Bundle> OnOnSegmentResults { get; set; }

Property Value

Action<Bundle>

Remarks

If OnOnSegmentResults has a value it takes precedence over corresponding class method

Methods

InitializeHandlers()

Handlers initializer for RecognitionListener

protected virtual void InitializeHandlers()

OnBeginningOfSpeech()

public virtual void OnBeginningOfSpeech()

OnBufferReceived(byte[])

public virtual void OnBufferReceived(byte[] arg0)

Parameters

arg0 byte[]

byte

OnEndOfSegmentedSession()

public virtual void OnEndOfSegmentedSession()

Remarks

The method invokes the default implementation in the JVM interface using OnEndOfSegmentedSessionDefault(); override the method to implement a different behavior

OnEndOfSegmentedSessionDefault()

public void OnEndOfSegmentedSessionDefault()

Remarks

The method invokes the default implementation in the JVM interface

OnEndOfSpeech()

public virtual void OnEndOfSpeech()

OnError(int)

public virtual void OnError(int arg0)

Parameters

arg0 int

int

OnEvent(int, Bundle)

public virtual void OnEvent(int arg0, Bundle arg1)

Parameters

arg0 int

int

arg1 Bundle

Bundle

OnLanguageDetection(Bundle)

public virtual void OnLanguageDetection(Bundle arg0)

Parameters

arg0 Bundle

Bundle

Remarks

The method invokes the default implementation in the JVM interface using OnLanguageDetectionDefault(Bundle); override the method to implement a different behavior

OnLanguageDetectionDefault(Bundle)

public void OnLanguageDetectionDefault(Bundle arg0)

Parameters

arg0 Bundle

Bundle

Remarks

The method invokes the default implementation in the JVM interface

OnPartialResults(Bundle)

public virtual void OnPartialResults(Bundle arg0)

Parameters

arg0 Bundle

Bundle

OnReadyForSpeech(Bundle)

public virtual void OnReadyForSpeech(Bundle arg0)

Parameters

arg0 Bundle

Bundle

OnResults(Bundle)

public virtual void OnResults(Bundle arg0)

Parameters

arg0 Bundle

Bundle

OnRmsChanged(float)

public virtual void OnRmsChanged(float arg0)

Parameters

arg0 float

float

OnSegmentResults(Bundle)

public virtual void OnSegmentResults(Bundle arg0)

Parameters

arg0 Bundle

Bundle

Remarks

The method invokes the default implementation in the JVM interface using OnSegmentResultsDefault(Bundle); override the method to implement a different behavior

OnSegmentResultsDefault(Bundle)

public void OnSegmentResultsDefault(Bundle arg0)

Parameters

arg0 Bundle

Bundle

Remarks

The method invokes the default implementation in the JVM interface