Share via


SFSpeechRecognitionTaskDelegate.DidFinishSuccessfully Method

Definition

The system calls this method after the task has finished.

[Foundation.Export("speechRecognitionTask:didFinishSuccessfully:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DidFinishSuccessfully(Speech.SFSpeechRecognitionTask task, bool successfully);
[<Foundation.Export("speechRecognitionTask:didFinishSuccessfully:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DidFinishSuccessfully : Speech.SFSpeechRecognitionTask * bool -> unit
override this.DidFinishSuccessfully : Speech.SFSpeechRecognitionTask * bool -> unit

Parameters

task
SFSpeechRecognitionTask

The SFSpeechRecognitionTask for which this is the delegate object.

successfully
Boolean

true if the speech recognition ended without error or cancellation.

Implements

Attributes

Applies to