SFSpeechRecognizer.GetRecognitionTask Método

Definición

Sobrecargas

GetRecognitionTask(SFSpeechRecognitionRequest, ISFSpeechRecognitionTaskDelegate)

Recupera para SFSpeechRecognitionTask , requestque volverá a llamar a .aDelegate

GetRecognitionTask(SFSpeechRecognitionRequest, Action<SFSpeechRecognitionResult,NSError>)

Obtiene para SFSpeechRecognitionTask y request llama de forma asincrónica a según resultHandler sea necesario.

GetRecognitionTask(SFSpeechRecognitionRequest, ISFSpeechRecognitionTaskDelegate)

Recupera para SFSpeechRecognitionTask , requestque volverá a llamar a .aDelegate

[Foundation.Export("recognitionTaskWithRequest:delegate:")]
public virtual Speech.SFSpeechRecognitionTask GetRecognitionTask (Speech.SFSpeechRecognitionRequest request, Speech.ISFSpeechRecognitionTaskDelegate delegate);
abstract member GetRecognitionTask : Speech.SFSpeechRecognitionRequest * Speech.ISFSpeechRecognitionTaskDelegate -> Speech.SFSpeechRecognitionTask
override this.GetRecognitionTask : Speech.SFSpeechRecognitionRequest * Speech.ISFSpeechRecognitionTaskDelegate -> Speech.SFSpeechRecognitionTask

Parámetros

Devoluciones

Atributos

Se aplica a

GetRecognitionTask(SFSpeechRecognitionRequest, Action<SFSpeechRecognitionResult,NSError>)

Obtiene para SFSpeechRecognitionTask y request llama de forma asincrónica a según resultHandler sea necesario.

[Foundation.Export("recognitionTaskWithRequest:resultHandler:")]
public virtual Speech.SFSpeechRecognitionTask GetRecognitionTask (Speech.SFSpeechRecognitionRequest request, Action<Speech.SFSpeechRecognitionResult,Foundation.NSError> resultHandler);
abstract member GetRecognitionTask : Speech.SFSpeechRecognitionRequest * Action<Speech.SFSpeechRecognitionResult, Foundation.NSError> -> Speech.SFSpeechRecognitionTask
override this.GetRecognitionTask : Speech.SFSpeechRecognitionRequest * Action<Speech.SFSpeechRecognitionResult, Foundation.NSError> -> Speech.SFSpeechRecognitionTask

Parámetros

Devoluciones

Atributos

Comentarios

En la mayoría de las circunstancias, resultHandler se llamará más de una vez en un subproceso en segundo plano.

Se aplica a