Modifier

Partager via


NSExtensionContext_UNNotificationContentExtension Class

Definition

Content extension for presenting notification UI, including UI for playable content.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static class NSExtensionContext_UNNotificationContentExtension
type NSExtensionContext_UNNotificationContentExtension = class
Inheritance
NSExtensionContext_UNNotificationContentExtension
Attributes

Methods

DismissNotificationContentExtension(NSExtensionContext)
GetNotificationActions(NSExtensionContext)
MediaPlayingPaused(NSExtensionContext)

Method that is called when the user pauses playable notification content.

MediaPlayingStarted(NSExtensionContext)

Method that is called when the user starts playable notification content.

PerformNotificationDefaultAction(NSExtensionContext)
SetNotificationActions(NSExtensionContext, UNNotificationAction[])

Applies to