Contents

mediaPlayingStarted()

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

Declaration

func mediaPlayingStarted()

Discussion

In your Notification Content app extension code, call this method when you programmatically begin 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