ASRResult

public enum ASRResult

The result of startRecognition request.

  • 음성 인식 결과 없음

    Declaration

    Swift

    case none(header: Downstream.Header)

    Parameters

    header

    The header of the originally handled directive.

  • 사용자 발화의 일부분

    Declaration

    Swift

    case partial(text: String, header: Downstream.Header)

    Parameters

    text

    Recognized utterance.

    header

    The header of the originally handled directive.

  • 사용자 발화의 전체 문장

    Declaration

    Swift

    case complete(text: String, header: Downstream.Header)

    Parameters

    text

    Recognized utterance.

    header

    The header of the originally handled directive.

  • 음성 인식 요청 취소

    Declaration

    Swift

    case cancel(header: Downstream.Header? = nil)
  • The ASR.ExpectSpeech directive has been cancelled.

    Declaration

    Swift

    case cancelExpectSpeech
  • 음성 인식 결과 실패

    Declaration

    Swift

    case error(_: Error, header: Downstream.Header? = nil)

    Parameters

    error

    header

    The header of the originally handled directive.