---
title: "song(_:)"
framework: groupactivities
role: symbol
role_heading: Type Method
path: "groupactivities/groupsessionevent/action-swift.struct/queuechange/item/song(_:)"
---

# song(_:)

Creates an item that contains the name of a song.

## Declaration

```swift
static func song(_ name: String) -> GroupSessionEvent.Action.QueueChange.Item
```

## Parameters

- `name`: The name of the song.

## Discussion

Discussion When a participant adds a song or changes the next song in the queue, call this method to create an item with the song name. When you show the change notice, SharePlay displays the song name to the participant.

## See Also

### Creating the item

- [container(_:)](groupactivities/groupsessionevent/action-swift.struct/queuechange/item/container(_:).md)
