Enumeration Case

UNNotificationContentExtensionMediaPlayPauseButtonType.overlay

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

Declaration

case overlay = 2

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

case none

No media button.

case `default`

A standard play/pause button.