# Classes

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

  ` Stores input audio samples in a circular buffer.

  #### Declaration

  Swift

      final class AudioData

- `
  ### [AudioRecord](https://developers.google.com/edge/api/mediapipe/swift/common/Classes/AudioRecord.md.txt)

  ` Continuously records microphone samples into a thread-safe circular buffer.

  #### Declaration

  Swift

      final class AudioRecord: Sendable

- `
  ### [FloatBuffer](https://developers.google.com/edge/api/mediapipe/swift/common/Classes/FloatBuffer.md.txt)

  ` A contiguous buffer of 32-bit floating-point audio samples.

  #### Declaration

  Swift

      final class FloatBuffer: Equatable

- `
  ### [FloatRingBuffer](https://developers.google.com/edge/api/mediapipe/swift/common/Classes/FloatRingBuffer.md.txt)

  ` Circular floating-point sample buffer retaining the most recent `length` elements in order.

  #### Declaration

  Swift

      final class FloatRingBuffer

- `
  ### [MPImage](https://developers.google.com/edge/api/mediapipe/swift/common/Classes/MPImage.md.txt)

  ` Input image container for on-device MediaPipe Vision Tasks inference.

  `MPImage` is `@unchecked Sendable` because all stored properties are `let` constants and its wrapped `UIImage`, `CVPixelBuffer`, and `CMSampleBuffer` instances are accessed strictly as read-only pixel sources during C `MpImage` conversion.

  #### Declaration

  Swift

      final class MPImage: Sendable

- `
  ### [MPMask](https://developers.google.com/edge/api/mediapipe/swift/common/Classes/MPMask.md.txt)

  ` Single-channel MediaPipe segmentation mask supporting conversion between `0...255` and `0.0...1.0` representations.

  #### Declaration

  Swift

      final class MPMask: Sendable, Equatable