---
title: "setStartTime(_:forItemWithStoreID:)"
framework: mediaplayer
role: symbol
role_heading: Instance Method
path: "mediaplayer/mpmusicplayerstorequeuedescriptor/setstarttime(_:foritemwithstoreid:)"
---

# setStartTime(_:forItemWithStoreID:)

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

## Declaration

```swift
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.

## See Also

### Setting start and end times

- [setEndTime(_:forItemWithStoreID:)](mediaplayer/mpmusicplayerstorequeuedescriptor/setendtime(_:foritemwithstoreid:).md)
