mediaPlayPauseButtonType
The type of media button type to display.
Declaration
optional var mediaPlayPauseButtonType: UNNotificationContentExtensionMediaPlayPauseButtonType { get }Mentioned in
Discussion
Implement this property when you want the system to display a media playback button in your notification interface. Return an appropriate constant indicating the type of button you want. If you don’t implement this property, the system behaves as if you set the value to UNNotificationContentExtensionMediaPlayPauseButtonType.none.