UNNotificationContentExtension_Extensions UNNotificationContentExtension_Extensions Class

Definition

Extension methods to the IUNNotificationContentExtension interface to support all the methods from the UNNotificationContent protocol.

public static class UNNotificationContentExtension_Extensions
type UNNotificationContentExtension_Extensions = class
Inheritance
UNNotificationContentExtension_ExtensionsUNNotificationContentExtension_Extensions

Methods

DidReceiveNotificationResponse(IUNNotificationContentExtension, UNNotificationResponse, Action<UNNotificationContentExtensionResponseOption>) DidReceiveNotificationResponse(IUNNotificationContentExtension, UNNotificationResponse, Action<UNNotificationContentExtensionResponseOption>)
GetMediaPlayPauseButtonFrame(IUNNotificationContentExtension) GetMediaPlayPauseButtonFrame(IUNNotificationContentExtension)

Returns the rectangle that will be used to display a playback button.

GetMediaPlayPauseButtonTintColor(IUNNotificationContentExtension) GetMediaPlayPauseButtonTintColor(IUNNotificationContentExtension)

Returns the tint color of the playback button.

GetMediaPlayPauseButtonType(IUNNotificationContentExtension) GetMediaPlayPauseButtonType(IUNNotificationContentExtension)
PauseMedia(IUNNotificationContentExtension) PauseMedia(IUNNotificationContentExtension)

Method that is called when the user presses the pause button.

PlayMedia(IUNNotificationContentExtension) PlayMedia(IUNNotificationContentExtension)

Method that is called when the user presses the play button.

Applies to