Share via


SFSpeechRecognitionTaskDelegate_Extensions.DidFinishSuccessfully 方法

定义

系统在 完成后调用此方法 task

public static void DidFinishSuccessfully (this Speech.ISFSpeechRecognitionTaskDelegate This, Speech.SFSpeechRecognitionTask task, bool successfully);
static member DidFinishSuccessfully : Speech.ISFSpeechRecognitionTaskDelegate * Speech.SFSpeechRecognitionTask * bool -> unit

参数

This
ISFSpeechRecognitionTaskDelegate

此扩展方法操作的实例。

task
SFSpeechRecognitionTask

这是 SFSpeechRecognitionTask 委托对象的 。

successfully
Boolean

true 如果语音识别在未出错或取消的情况下结束,则为 。

适用于