Enumerations

The following enumerations are available globally.

  • The available system voices.

    The enum is iteratable; access to an array of the enum values can be accessed using:

    OSSVoiceEnum.allCases
    
    See more

    Declaration

    Swift

    @available(*, deprecated, message: "Use OSSLanguage.catalog and runtime capability APIs.")
    public enum OSSVoiceEnum : String, CaseIterable
  • The authorization status of the Microphone and recording, imitating the native SFSpeechRecognizerAuthorizationStatus

    See more

    Declaration

    Swift

    public enum OSSSpeechKitAuthorizationStatus : Int
  • All of the possible error types that can be thrown by OSSSpeechKit

    See more

    Declaration

    Swift

    public enum OSSSpeechKitErrorType : Int
  • The speech recognition task type.

    See more

    Declaration

    Swift

    public enum OSSSpeechRecognitionTaskType : Int
  • Typed failures emitted by the modern OSSSpeechKit API.

    See more

    Declaration

    Swift

    public enum OSSSpeechError : Error, LocalizedError
  • Events from a live recognition session.

    See more

    Declaration

    Swift

    public enum OSSSpeechRecognitionEvent