Rating

public struct Rating : XMLRepresentable

Undocumented

  • Specifies the possible rating values.

    Declaration

    Swift

    public enum Value : String, Codable
  • The name of the rating.

    Declaration

    Swift

    public var name: String?
  • The start time of the rating.

    Declaration

    Swift

    public var start: CMTime?
  • The duration of the rating.

    Declaration

    Swift

    public var duration: CMTime?
  • The value of the rating.

    Declaration

    Swift

    public var value: Value
  • A note about the rating.

    Declaration

    Swift

    public var note: String?
  • Initializes a new rating.

    Declaration

    Swift

    public init(start: CMTime? = nil, duration: CMTime? = nil, value: Value)

    Parameters

    start

    The start time of the rating.

    duration

    The duration of the rating.

    value

    The value of the rating.