Instance Method

mediaPlayingStarted

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

Declaration

- (void)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

- mediaPlayingPaused

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