One Logo Pool Ball
GroupActivities · IOS API REFERENCE

GroupSessionEvent.Action.QueueChange.Item

struct · SDK 27.1

struct Item

Detailed information about an item involved in a queue change. Before you notify a participant about a queue-related change, create an item that contains the name of the song or container that changed. Use this item to configure a ``GroupSessionEvent/Action-swift.struct/QueueChange`` structure with additional details about the change.

Members (2)

static

song

TypeScript
static song(name: string): GroupSessionEvent_Action_QueueChange_Item
Swift declaration
static func song(_ name: String) -> GroupSessionEvent.Action.QueueChange.Item

Creates an item that contains the name of a song. 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. - Parameters: - name: The name of the song.

static

container

TypeScript
static container(name: string): GroupSessionEvent_Action_QueueChange_Item
Swift declaration
static func container(_ name: String) -> GroupSessionEvent.Action.QueueChange.Item

Creates an item that contains the name of a container. 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. - Parameters: - name: The name of the container.

Skipped declarations

No declarations were skipped in this snapshot.

All GroupActivities types →