MediaPipeTasksText Framework Reference

Enumerations

The following declarations are available globally.

  • The type of correction.

    Declaration

    Swift

    enum CorrectionType: RawRepresentable, Sendable, Equatable, Hashable, BitwiseCopyable
  • 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
  • Running mode of the MediaPipe task.

    Declaration

    Swift

    enum MPPCoreRunningMode: RawRepresentable, Sendable, Equatable, Hashable, BitwiseCopyable
  • The embedding task type, used to format input text for Gecko models.

    Declaration

    Swift

    enum MPPEmbeddingType: RawRepresentable, Sendable, Equatable, Hashable, BitwiseCopyable
  • The role of the text in the context of the embedding task for Gecko models.

    Declaration

    Swift

    enum MPPTextRole: RawRepresentable, Sendable, Equatable, Hashable, BitwiseCopyable
  • This enum specifies error codes for errors thrown by iOS MediaPipe Task Library.

    Declaration

    Swift

    enum TasksErrorCode: RawRepresentable, Sendable, Equatable, Hashable, BitwiseCopyable
  • The mode of the text summarizer.

    Declaration

    Swift

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