---
title: "feedback(title:shortTitle:status:_:)"
framework: nowplaying
role: symbol
role_heading: Type Method
path: "nowplaying/mediacommand/feedback(title:shorttitle:status:_:)"
---

# feedback(title:shortTitle:status:_:)

Creates a command that handles user feedback (positive, neutral, or negative) for the current content.

## Declaration

```swift
static func feedback(title: String? = nil, shortTitle: String? = nil, status: MediaCommand.FeedbackStatus = .neutral, _ action: @escaping (MediaCommand.FeedbackStatus) async throws -> Void) -> MediaCommand
```

## Parameters

- `title`: A localized string that describes the context of the command.
- `shortTitle`: A shortened version of the title.
- `status`: The current feedback status for the content.
- `action`: The closure the system calls when the user changes the feedback status.

## See Also

### Providing feedback

- [MediaCommand.FeedbackStatus](nowplaying/mediacommand/feedbackstatus.md)
