Edytuj

Udostępnij za pośrednictwem


ISFSpeechRecognitionTaskDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol SFSpeechRecognitionTaskDelegate.

[Foundation.Protocol(Name="SFSpeechRecognitionTaskDelegate", WrapperType=typeof(Speech.SFSpeechRecognitionTaskDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface ISFSpeechRecognitionTaskDelegate : IDisposable, ObjCRuntime.INativeObject
type ISFSpeechRecognitionTaskDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by SFSpeechRecognitionTaskDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the SFSpeechRecognitionTaskDelegate protocol.

Optional methods (if any) are provided by the SFSpeechRecognitionTaskDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

DidDetectSpeech(ISFSpeechRecognitionTaskDelegate, SFSpeechRecognitionTask)

The system calls this method periodically as speech is detected.

DidFinishRecognition(ISFSpeechRecognitionTaskDelegate, SFSpeechRecognitionTask, SFSpeechRecognitionResult)

The system calls this method after it has completed recognition.

DidFinishSuccessfully(ISFSpeechRecognitionTaskDelegate, SFSpeechRecognitionTask, Boolean)

The system calls this method after the task has finished.

DidHypothesizeTranscription(ISFSpeechRecognitionTaskDelegate, SFSpeechRecognitionTask, SFTranscription)

The system calls this method periodically, as the speech recognition attempts to refine the results.

FinishedReadingAudio(ISFSpeechRecognitionTaskDelegate, SFSpeechRecognitionTask)

Called by the system after the audio input has finished.

WasCancelled(ISFSpeechRecognitionTaskDelegate, SFSpeechRecognitionTask)

Applies to