---
title: PresentationCommand
framework: Immersive Media Support
role: symbol
role_heading: Enumeration
platforms: [iOS 26.4+, iPadOS 26.4+, Mac Catalyst 26.4+, macOS 26.0+, visionOS 26.0+]
path: immersivemediasupport/presentationcommand
---

# PresentationCommand

A set of properties that define the interface for a presentation command.

## Declaration

```swift
enum PresentationCommand
```

## Overview

Overview These are commands that dictate part of the presentation of the video frames during immersive media playback. These commands have all the necessary properties like command identifier, command type, command time in seconds (when it needs to be processed), command duration in seconds, command offset from the start of the command time (if they are offset based), a flag to indicate if commands are offset based or not, command argument list, which might carry additional properties based on the type of the presentation command.

## Topics

### Instance Properties

- [duration](immersivemediasupport/presentationcommand/duration.md)
- [id](immersivemediasupport/presentationcommand/id.md)
- [offset](immersivemediasupport/presentationcommand/offset.md)
- [time](immersivemediasupport/presentationcommand/time.md)

### Enumeration Cases

- [PresentationCommand.fade(_:)](immersivemediasupport/presentationcommand/fade(_:).md)
- [PresentationCommand.fadeEnvironment(_:)](immersivemediasupport/presentationcommand/fadeenvironment(_:).md)
- [PresentationCommand.setCamera(_:)](immersivemediasupport/presentationcommand/setcamera(_:).md)
- [PresentationCommand.shotFlip(_:)](immersivemediasupport/presentationcommand/shotflip(_:).md)
- [PresentationCommand.shotFlop(_:)](immersivemediasupport/presentationcommand/shotflop(_:).md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Presentation commands

- [FadeCommand](immersivemediasupport/fadecommand.md)
- [FadeEnvironmentCommand](immersivemediasupport/fadeenvironmentcommand.md)
- [SetCameraCommand](immersivemediasupport/setcameracommand.md)
- [ShotFlopCommand](immersivemediasupport/shotflopcommand.md)
- [ShotFlipCommand](immersivemediasupport/shotflipcommand.md)
- [PresentationDescriptor](immersivemediasupport/presentationdescriptor.md)
- [PresentationDescriptorReader](immersivemediasupport/presentationdescriptorreader.md)
