MediaPipeTasksAudio Framework Reference

ResultCategory

class ResultCategory : NSObject

Contains a category label, display name, score, and index.

  • Index of the category in the label map.

    Declaration

    Swift

    var index: Int { get }
  • Confidence score for this category.

    Declaration

    Swift

    var score: Float { get }
  • Label name of the category.

    Declaration

    Swift

    var categoryName: String? { get }
  • Localized display name of the category.

    Declaration

    Swift

    var displayName: String? { get }