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

# container(_:)

Creates an item that contains the name of a container.

## Declaration

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

## Parameters

- `name`: The name of the container.

## Discussion

Discussion When a participant changes an entire queue, call this method to create an item with the queue name. When you show the change notice, SharePlay displays the container name to the participant.

## See Also

### Creating the item

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