Instance Method インスタンスメソッド

mediaPlayingPaused()

Tells the system that the Notification Content app extension stopped playing a media file. システムにNotification Contentアプリ拡張がメディアファイルの再生を停止したことを伝えます。

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. あなたのNotification Contentアプリ拡張コードにおいて、あなたがプログラムに基づきメディアファイルの再生を停止する時に、このメソッドを使ってください。呼び出された時、システムは通知内容拡張のインターフェイスにおいて表示されるメディア再生ボタンの外観を更新します。通知内容拡張を実装する事についてのさらなる情報として、UNNotificationContentExtensionを見てください。

See Also 参照

Controlling Media Playback in Notification Content Extensions 通知内容拡張においてメディア再生を制御する