Contents

added(_:)

Returns a queue change for an added item.

Declaration

static func added(_ item: GroupSessionEvent.Action.QueueChange.Item) -> GroupSessionEvent.Action.QueueChange

Parameters

  • item:

    The item the participant added to the queue.

Return Value

A type that contains information about the change.

Discussion

Before showing a notice to the user, call this method to generate a type for the added item. Pass this type to the updatedQueue(_:) method to create the postable action.

See Also

Specifying the type of change