<!--
{
  "availability" : [
    "iOS: 10.1.0 -",
    "iPadOS: 10.1.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaPlayer",
  "identifier" : "/documentation/MediaPlayer/MPMusicPlayerStoreQueueDescriptor",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Media Player"
    ],
    "preciseIdentifier" : "c:objc(cs)MPMusicPlayerStoreQueueDescriptor"
  },
  "title" : "MPMusicPlayerStoreQueueDescriptor"
}
-->

# MPMusicPlayerStoreQueueDescriptor

A set of properties and methods for modifying items, based on their store identifier, in the player’s queue.

```
class MPMusicPlayerStoreQueueDescriptor
```

## Overview

Use this class to modify the player queue created by a query before the queue begins to play. You can modify when individual items start and stop playing, along with setting the first item to play.

## Topics

### Creating a new store queue descriptor

[`-  initWithStoreIDs:`](/documentation/MediaPlayer/MPMusicPlayerStoreQueueDescriptor/init(storeIDs:))

Creates a new queue descriptor using the designated store identifiers.

### Store identifier queue descriptor properties

[`startItemID`](/documentation/MediaPlayer/MPMusicPlayerStoreQueueDescriptor/startItemID)

The item identified by the store identifier to play first.

[`storeIDs`](/documentation/MediaPlayer/MPMusicPlayerStoreQueueDescriptor/storeIDs)

An array containing the store identifiers found by the query used to create the queue descriptor.

### Setting start and end times

[`-  setStartTime:forItemWithStoreID:`](/documentation/MediaPlayer/MPMusicPlayerStoreQueueDescriptor/setStartTime(_:forItemWithStoreID:))

Sets the time the designated store item is to start playing.

[`-  setEndTime:forItemWithStoreID:`](/documentation/MediaPlayer/MPMusicPlayerStoreQueueDescriptor/setEndTime(_:forItemWithStoreID:))

Sets the time the designated store item is to stop playing.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

### Inherits From

[`MPMusicPlayerQueueDescriptor`](/documentation/MediaPlayer/MPMusicPlayerQueueDescriptor)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)