<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 10.0.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UserNotificationsUI",
  "identifier" : "/documentation/UserNotificationsUI/UNNotificationContentExtensionMediaPlayPauseButtonType/overlay",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "User Notifications UI"
    ],
    "preciseIdentifier" : "c:@E@UNNotificationContentExtensionMediaPlayPauseButtonType@UNNotificationContentExtensionMediaPlayPauseButtonTypeOverlay"
  },
  "title" : "UNNotificationContentExtensionMediaPlayPauseButtonType.overlay"
}
-->

# UNNotificationContentExtensionMediaPlayPauseButtonType.overlay

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

```
case overlay
```

## 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)