Contents

setUpNext(_:)

Returns a queue change for a new up-next item.

Declaration

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

Parameters

  • item:

    The next item in 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 changed up-next item. Pass this type to the updatedQueue(_:) method to create the postable action.

See Also

Specifying the type of change