Class SpeechRecognizer
public class SpeechRecognizer : JVMBridgeBase<SpeechRecognizer>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<SpeechRecognizer>SpeechRecognizer
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<SpeechRecognizer>.IsAssignableFrom(IJavaType)JVMBridgeBase<SpeechRecognizer>.IsAssignableFrom<T>()JVMBridgeBase<SpeechRecognizer>.Execute<T>(params T[])JVMBridgeBase<SpeechRecognizer>.DynBridgeClazzJVMBridgeBase<SpeechRecognizer>.BridgeClazzJVMBridgeBase.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.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
SpeechRecognizer()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public SpeechRecognizer()
SpeechRecognizer(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public SpeechRecognizer(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
CONFIDENCE_SCORES
public static String CONFIDENCE_SCORES { get; }
Property Value
DETECTED_LANGUAGE
public static String DETECTED_LANGUAGE { get; }
Property Value
ERROR_AUDIO
public static int ERROR_AUDIO { get; }
Property Value
ERROR_CANNOT_CHECK_SUPPORT
public static int ERROR_CANNOT_CHECK_SUPPORT { get; }
Property Value
ERROR_CANNOT_LISTEN_TO_DOWNLOAD_EVENTS
public static int ERROR_CANNOT_LISTEN_TO_DOWNLOAD_EVENTS { get; }
Property Value
ERROR_CLIENT
public static int ERROR_CLIENT { get; }
Property Value
ERROR_INSUFFICIENT_PERMISSIONS
public static int ERROR_INSUFFICIENT_PERMISSIONS { get; }
Property Value
ERROR_LANGUAGE_NOT_SUPPORTED
public static int ERROR_LANGUAGE_NOT_SUPPORTED { get; }
Property Value
ERROR_LANGUAGE_UNAVAILABLE
public static int ERROR_LANGUAGE_UNAVAILABLE { get; }
Property Value
ERROR_NETWORK
public static int ERROR_NETWORK { get; }
Property Value
ERROR_NETWORK_TIMEOUT
public static int ERROR_NETWORK_TIMEOUT { get; }
Property Value
ERROR_NO_MATCH
public static int ERROR_NO_MATCH { get; }
Property Value
ERROR_RECOGNIZER_BUSY
public static int ERROR_RECOGNIZER_BUSY { get; }
Property Value
ERROR_SERVER
public static int ERROR_SERVER { get; }
Property Value
ERROR_SERVER_DISCONNECTED
public static int ERROR_SERVER_DISCONNECTED { get; }
Property Value
ERROR_SPEECH_TIMEOUT
public static int ERROR_SPEECH_TIMEOUT { get; }
Property Value
ERROR_TOO_MANY_REQUESTS
https://developer.android.com/reference/android/speech/SpeechRecognizer.html#ERROR_TOO_MANY_REQUESTS
public static int ERROR_TOO_MANY_REQUESTS { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
LANGUAGE_DETECTION_CONFIDENCE_LEVEL
public static String LANGUAGE_DETECTION_CONFIDENCE_LEVEL { get; }
Property Value
LANGUAGE_DETECTION_CONFIDENCE_LEVEL_CONFIDENT
public static int LANGUAGE_DETECTION_CONFIDENCE_LEVEL_CONFIDENT { get; }
Property Value
LANGUAGE_DETECTION_CONFIDENCE_LEVEL_HIGHLY_CONFIDENT
public static int LANGUAGE_DETECTION_CONFIDENCE_LEVEL_HIGHLY_CONFIDENT { get; }
Property Value
LANGUAGE_DETECTION_CONFIDENCE_LEVEL_NOT_CONFIDENT
public static int LANGUAGE_DETECTION_CONFIDENCE_LEVEL_NOT_CONFIDENT { get; }
Property Value
LANGUAGE_DETECTION_CONFIDENCE_LEVEL_UNKNOWN
public static int LANGUAGE_DETECTION_CONFIDENCE_LEVEL_UNKNOWN { get; }
Property Value
LANGUAGE_SWITCH_RESULT
public static String LANGUAGE_SWITCH_RESULT { get; }
Property Value
LANGUAGE_SWITCH_RESULT_FAILED
public static int LANGUAGE_SWITCH_RESULT_FAILED { get; }
Property Value
LANGUAGE_SWITCH_RESULT_NOT_ATTEMPTED
public static int LANGUAGE_SWITCH_RESULT_NOT_ATTEMPTED { get; }
Property Value
LANGUAGE_SWITCH_RESULT_SKIPPED_NO_MODEL
public static int LANGUAGE_SWITCH_RESULT_SKIPPED_NO_MODEL { get; }
Property Value
LANGUAGE_SWITCH_RESULT_SUCCEEDED
public static int LANGUAGE_SWITCH_RESULT_SUCCEEDED { get; }
Property Value
RECOGNITION_PARTS
public static String RECOGNITION_PARTS { get; }
Property Value
RESULTS_ALTERNATIVES
public static String RESULTS_ALTERNATIVES { get; }
Property Value
RESULTS_RECOGNITION
public static String RESULTS_RECOGNITION { get; }
Property Value
TOP_LOCALE_ALTERNATIVES
https://developer.android.com/reference/android/speech/SpeechRecognizer.html#TOP_LOCALE_ALTERNATIVES
public static String TOP_LOCALE_ALTERNATIVES { get; }
Property Value
Methods
Cancel()
public void Cancel()
CheckRecognitionSupport(Intent, Executor, RecognitionSupportCallback)
public void CheckRecognitionSupport(Intent arg0, Executor arg1, RecognitionSupportCallback arg2)
Parameters
arg0
Intentarg1
Executorarg2
RecognitionSupportCallback
CreateOnDeviceSpeechRecognizer(Context)
public static SpeechRecognizer CreateOnDeviceSpeechRecognizer(Context arg0)
Parameters
Returns
CreateSpeechRecognizer(Context)
public static SpeechRecognizer CreateSpeechRecognizer(Context arg0)
Parameters
Returns
CreateSpeechRecognizer(Context, ComponentName)
public static SpeechRecognizer CreateSpeechRecognizer(Context arg0, ComponentName arg1)
Parameters
arg0
Contextarg1
ComponentName
Returns
Destroy()
public void Destroy()
IsOnDeviceRecognitionAvailable(Context)
public static bool IsOnDeviceRecognitionAvailable(Context arg0)
Parameters
Returns
IsRecognitionAvailable(Context)
public static bool IsRecognitionAvailable(Context arg0)
Parameters
Returns
SetRecognitionListener(RecognitionListener)
public void SetRecognitionListener(RecognitionListener arg0)
Parameters
StartListening(Intent)
public void StartListening(Intent arg0)
Parameters
StopListening()
public void StopListening()
TriggerModelDownload(Intent)
public void TriggerModelDownload(Intent arg0)
Parameters
TriggerModelDownload(Intent, Executor, ModelDownloadListener)
public void TriggerModelDownload(Intent arg0, Executor arg1, ModelDownloadListener arg2)
Parameters
arg0
Intentarg1
Executorarg2
ModelDownloadListener