SwiftstructMusicKitInternal

struct MusicKitInternal.PlaybackPosition

Structure

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

Members 10

  1. fieldlet bookmarkTime: Double+0x0
  2. fieldlet hasBeenPlayed: Bool+0x8
  3. fieldlet playCount: Int+0x10
  4. fieldlet shouldRememberBookmarkTime: Bool+0x9
  5. fieldlet startTime: Double+0x18
  6. fieldlet stopTime: Double+0x20
  7. funcconvertToLegacyModelStorageDictionary(for: MusicKit.LegacyModelObjectConversionReason) -> [MusicKitInternal.PlaybackPosition.LegacyModelPlaybackPositionPropertyKey : Any]
  8. initinit(rawStorageDictionary: [String : Any]) -> MusicKitInternal.PlaybackPosition?
  9. typealiastypealias LegacyModelPropertyKeyType = MusicKitInternal.PlaybackPosition.LegacyModelPlaybackPositionPropertyKey
  10. varvar legacyModelAttributeType: MusicKit.LegacyModelAttributeType { get }
struct PlaybackPosition {
    enum LegacyModelPlaybackPositionPropertyKey {
        case bookmarkTime
        case hasBeenPlayed
        case shouldRememberBookmarkTime
        case playCount
        case startTime
        case stopTime
    }
    enum CodingKeys {
        case bookmarkTime
        case hasBeenPlayed
        case shouldRememberBookmarkTime
        case playCount
        case startTime
        case stopTime
    }
    let bookmarkTime: Swift.Double
    let hasBeenPlayed: Swift.Bool
    let shouldRememberBookmarkTime: Swift.Bool
    let playCount: Swift.Int
    let startTime: Swift.Double
    let stopTime: Swift.Double

    init?(rawStorageDictionary: [Swift.String : Any])

    var legacyModelAttributeType: MusicKit.LegacyModelAttributeType {
        get
    }

    func convertToLegacyModelStorageDictionary(for: MusicKit.LegacyModelObjectConversionReason) -> [MusicKitInternal.PlaybackPosition.LegacyModelPlaybackPositionPropertyKey : Any]
}