<!--
{
  "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/setStartTime(_:forItemWithStoreID:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Media Player"
    ],
    "preciseIdentifier" : "c:objc(cs)MPMusicPlayerStoreQueueDescriptor(im)setStartTime:forItemWithStoreID:"
  },
  "title" : "setStartTime(_:forItemWithStoreID:)"
}
-->

# setStartTime(_:forItemWithStoreID:)

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

```
func setStartTime(_ startTime: TimeInterval, forItemWithStoreID storeID: String)
```

## Parameters

`startTime`

The <doc://com.apple.documentation/documentation/Foundation/TimeInterval> describing when the store item starts playing.

`storeID`

The store identifier associated with the item in the queue that has a changed start time.

## Discussion

---

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)