---
title: UNNotificationContentExtensionMediaPlayPauseButtonType.overlay
framework: usernotificationsui
role: symbol
role_heading: Case
path: usernotificationsui/unnotificationcontentextensionmediaplaypausebuttontype/overlay
---

# UNNotificationContentExtensionMediaPlayPauseButtonType.overlay

A partially transparent play/pause button that is layered on top of your media content.

## Declaration

```swift
case overlay
```

## Discussion

Discussion This button draws a play icon over the content initially. When playback begins, the button disappears. Tapping the content again pauses playback and displays the play button again.

## See Also

### Button Types

- [UNNotificationContentExtensionMediaPlayPauseButtonType.none](usernotificationsui/unnotificationcontentextensionmediaplaypausebuttontype/none.md)
- [UNNotificationContentExtensionMediaPlayPauseButtonType.default](usernotificationsui/unnotificationcontentextensionmediaplaypausebuttontype/default.md)
