Instance Method

mediaPlayingPaused()

Tells the system that the Notification Content app extension stopped playing a media file.

Declaration

func mediaPlayingPaused()

Discussion

In your Notification Content app extension code, call this method when you programmatically stop playing a media file. When called, the system updates the appearance of the media playback button displayed in the notification content extension’s interface. For more information about implementing a notification content extension, see UNNotificationContentExtension.

See Also

Controlling Media Playback in Notification Content Extensions

func mediaPlayingStarted()

Tells the system that the Notification Content app extension began playing a media file.