An entry for the playback queue of the music player.
Members (11)
get · iOS 15.0+
description
TypeScript
get description(): string
Swift declaration
var description: String { get }
A textual representation of this instance.
Calling this property directly is discouraged. Instead, convert an
instance of any type to a string by using the `String(describing:)`
initializer. This initializer works with any type, and uses the custom
`description` property for types that conform to
`CustomStringConvertible`:
struct Point: CustomStringConvertible {
let x: Int, y: Int
var description: String {
return "(\(x), \(y))"
}
}
let p = Point(x: 21, y: 30)
let s = String(describing: p)
print(s)
// Prints "(21, 30)"
The conversion of `p` to a string in the assignment to `s` uses the
`Point` type's `description` property.
get · iOS 15.0+
isTransient
TypeScript
get isTransient(): boolean
Swift declaration
var isTransient: Bool { get }
A Boolean value that indicates whether this entry of the playback
queue has a transient music item.
get · iOS 15.0+
transientItem
TypeScript
get transientItem(): (SDKHandle) | null
Swift declaration
var transientItem: (any PlayableMusicItem)? { get }
A music item that corresponds to a recently inserted entry
in the playback queue that has underlying items the music player
still needs to resolve.
get · iOS 15.0+
id
TypeScript
get id(): string
Swift declaration
let id: String
The unique identifier of this entry of the playback queue.
get · iOS 15.0+
item
TypeScript
get item(): (MusicPlayer_Queue_Entry_Item) | null
Swift declaration
var item: MusicPlayer.Queue.Entry.Item? { get }
A music item that corresponds to this entry of the playback queue,
such as a song or a music video.
get · iOS 15.0+
title
TypeScript
get title(): string
Swift declaration
var title: String { get }
The title of this entry of the playback queue.
get · iOS 15.0+
artwork
TypeScript
get artwork(): (Artwork) | null
Swift declaration
var artwork: Artwork? { get }
The artwork of this entry of the playback queue.
get · iOS 15.0+
endTime
TypeScript
get endTime(): (number) | null
Swift declaration
var endTime: TimeInterval? { get }
An optional end time for this entry of the playback queue.
get · iOS 15.0+
subtitle
TypeScript
get subtitle(): (string) | null
Swift declaration
var subtitle: String? { get }
The subtitle of this entry of the playback queue.
get · iOS 15.0+
startTime
TypeScript
get startTime(): (number) | null
Swift declaration
var startTime: TimeInterval? { get }
An optional start time for this entry of the playback queue.