---
title: command
framework: mediaplayer
role: symbol
role_heading: Instance Property
path: mediaplayer/mpremotecommandevent/command
---

# command

The command that sent the event.

## Declaration

```swift
var command: MPRemoteCommand { get }
```

## See Also

### Retrieving command information

- [timestamp](mediaplayer/mpremotecommandevent/timestamp.md)
