SwiftclassMediaCoreUI

@Observable class MediaCoreUI.NowPlayingViewModel.TrackSections

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 6

  1. fieldlet _$observationRegistrar: Observation.ObservationRegistrar
  2. fieldvar _annotation: SwiftUI.Text?
  3. fieldvar _isExpanded: Bool
  4. fieldvar _playheadPosition: MediaCoreUI.NowPlayingViewModel.TrackSections.RelativePlayheadPosition?
  5. fieldvar _sections: [MediaCoreUI.NowPlayingViewModel.TrackSections.Cell]+0x10
  6. fieldvar platterFrame: CGRect
@Observation.Observable
class MediaCoreUI.NowPlayingViewModel.TrackSections {
    @Observation.Observable
    class Cell {
        let section: MediaCoreUI.NowPlayingTrackSection
        let widestFormattedTimeRemaining: Swift.String
        let formattedDuration: Swift.String
        let axDurationFormatted: Swift.String
    }
    enum RelativePlayheadPosition {
        case inSection(index: Swift.Int)
        case betweenSections(playedSectionCount: Swift.Int)
    }
    // synthesized from the storage `_sections` that @Observable generated; the property's own accessors are stripped
    var sections: [MediaCoreUI.NowPlayingViewModel.TrackSections.Cell]
    // synthesized from the storage `_annotation` that @Observable generated; the property's own accessors are stripped
    var annotation: SwiftUI.Text?
    // synthesized from the storage `_playheadPosition` that @Observable generated; the property's own accessors are stripped
    var playheadPosition: MediaCoreUI.NowPlayingViewModel.TrackSections.RelativePlayheadPosition?
    // synthesized from the storage `_isExpanded` that @Observable generated; the property's own accessors are stripped
    var isExpanded: Swift.Bool
    @Observation.ObservationIgnored
    var platterFrame: __C.CGRect
}