init(_:startTime:endTime:)

Creates an entry of the playback queue with a playable music item, and optional start and end times.

Declaration

init(_ playableMusicItem: any PlayableMusicItem, startTime: TimeInterval? = nil, endTime: TimeInterval? = nil)