SFSpeechRecognizer.GetRecognitionTask Method    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| GetRecognitionTask(SFSpeechRecognitionRequest, ISFSpeechRecognitionTaskDelegate) | Retrieves the SFSpeechRecognitionTask for the  | 
| GetRecognitionTask(SFSpeechRecognitionRequest, Action<SFSpeechRecognitionResult,NSError>) | Gets the SFSpeechRecognitionTask for the  | 
GetRecognitionTask(SFSpeechRecognitionRequest, ISFSpeechRecognitionTaskDelegate)
Retrieves the SFSpeechRecognitionTask for the request, which will call back to the 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.SFSpeechRecognitionTaskParameters
- request
- SFSpeechRecognitionRequest
- delegate
- ISFSpeechRecognitionTaskDelegate
Returns
- Attributes
Applies to
GetRecognitionTask(SFSpeechRecognitionRequest, Action<SFSpeechRecognitionResult,NSError>)
Gets the SFSpeechRecognitionTask for the request and asynchronously calls the resultHandler as needed.
[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.SFSpeechRecognitionTaskParameters
- request
- SFSpeechRecognitionRequest
- resultHandler
- Action<SFSpeechRecognitionResult,NSError>
Returns
- Attributes
Remarks
In most circumstances, the resultHandler will be called more than once, on a background thread.