MediaPipeTasksDecision Framework Reference

Enumerations

The following enumerations are available globally.

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

    Declaration

    Swift

    enum Delegate : UInt, @unchecked Sendable
  • Multi-token log-probability scoring mode for ChoiceQuestion.

    Declaration

    Swift

    public enum ScoringMode : Int32, Sendable
  • Specifies error codes for errors thrown by the iOS MediaPipe Task Library.

    Declaration

    Swift

    enum TasksErrorCode : UInt, @unchecked Sendable