RecognizeCallback

public struct RecognizeCallback

Undocumented

  • Allows you to set up callback in application to use microphone streaming results.

    Declaration

    Swift

    public init()
  • Invoked when transcription results are received for a recognition request.

    Declaration

    Swift

    public var onResults: ((SpeechRecognitionResults) -> Void)?
  • Invoked when an error or warning occurs.

    Declaration

    Swift

    public var onError: ((WatsonError) -> Void)?