# Enumerations

The following declarations are available globally.
- `
  ### [AudioTranscriberModelArchitecture](https://developers.google.com/edge/api/mediapipe/swift/audio/Enums/AudioTranscriberModelArchitecture.md.txt)

  ` Model architecture backend family for `MPPAudioTranscriber`.

  #### Declaration

  Swift

      enum AudioTranscriberModelArchitecture: RawRepresentable, Sendable, Equatable, Hashable, BitwiseCopyable

- `
  ### [Delegate](https://developers.google.com/edge/api/mediapipe/swift/audio/Enums/Delegate.md.txt)

  ` The delegate to run MediaPipe. If the delegate is not set, the default delegate CPU is used.

  #### Declaration

  Swift

      enum Delegate: RawRepresentable, Sendable, Equatable, Hashable, BitwiseCopyable

- `
  ### [MPPCoreRunningMode](https://developers.google.com/edge/api/mediapipe/swift/audio/Enums/MPPCoreRunningMode.md.txt)

  ` Running mode of the MediaPipe task.

  #### Declaration

  Swift

      enum MPPCoreRunningMode: RawRepresentable, Sendable, Equatable, Hashable, BitwiseCopyable

- `
  ### [MediaPipeTTSError](https://developers.google.com/edge/api/mediapipe/swift/audio/Enums/MediaPipeTTSError.md.txt)

  ` Error type thrown by MediaPipe-TTS operations.

  #### Declaration

  Swift

      enum MediaPipeTTSError: Error, LocalizedError, Sendable

- `
  ### [RunningMode](https://developers.google.com/edge/api/mediapipe/swift/audio/Enums/RunningMode.md.txt)

  ` MediaPipe audio task running mode. A MediaPipe audio task can be run with three different modes: image, video and live stream.

  #### Declaration

  Swift

      enum RunningMode: RawRepresentable, Sendable, Equatable, Hashable, BitwiseCopyable

- `
  ### [TTSHardwareDelegate](https://developers.google.com/edge/api/mediapipe/swift/audio/Enums/TTSHardwareDelegate.md.txt)

  ` Hardware acceleration delegates for in-process neural execution.

  #### Declaration

  Swift

      enum TTSHardwareDelegate: Sendable, Equatable, Hashable, RawRepresentable

- `
  ### [TasksErrorCode](https://developers.google.com/edge/api/mediapipe/swift/audio/Enums/TasksErrorCode.md.txt)

  ` This enum specifies error codes for errors thrown by iOS MediaPipe Task Library.

  #### Declaration

  Swift

      enum TasksErrorCode: RawRepresentable, Sendable, Equatable, Hashable, BitwiseCopyable