---
title: GroupSessionEvent.Action
framework: groupactivities
role: symbol
role_heading: Structure
path: groupactivities/groupsessionevent/action-swift.struct
---

# GroupSessionEvent.Action

A playback-related change that occurs during the session.

## Declaration

```swift
struct Action
```

## Overview

Overview Use this structure to communicate playback-related changes to participants using the system UI. You can use this structure to communicate the following types of events: Transport-related events for a custom player. Changes to a playback queue your app manages. When a change occurs in your custom player or playback queue, create an instance of this structure to describe the change and wrap it in a GroupSessionEvent structure. To display the event to the participant call the showNotice(_:) method of the session. The system formats and displays the information you provide. note: If your app uses AV Foundation to play content, you don’t need to communicate transport-related events yourself. AV Foundation generates appropriate events when the user plays, pauses, seeks, or skips tracks.

## Topics

### Getting playback-related actions

- [play](groupactivities/groupsessionevent/action-swift.struct/play.md)
- [pause](groupactivities/groupsessionevent/action-swift.struct/pause.md)
- [seek](groupactivities/groupsessionevent/action-swift.struct/seek.md)
- [skip(item:)](groupactivities/groupsessionevent/action-swift.struct/skip(item:).md)

### Getting change-related actions

- [updatedQueue(_:)](groupactivities/groupsessionevent/action-swift.struct/updatedqueue(_:).md)
- [updatedQueue](groupactivities/groupsessionevent/action-swift.struct/updatedqueue.md)
- [GroupSessionEvent.Action.QueueChange](groupactivities/groupsessionevent/action-swift.struct/queuechange.md)

## See Also

### Getting the event details

- [originator](groupactivities/groupsessionevent/originator.md)
- [url](groupactivities/groupsessionevent/url.md)
- [action](groupactivities/groupsessionevent/action-swift.property.md)
