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_Extensions

Methods

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

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

GetMediaPlayPauseButtonTintColor(IUNNotificationContentExtension)

Returns the tint color of the playback button.

GetMediaPlayPauseButtonType(IUNNotificationContentExtension)
PauseMedia(IUNNotificationContentExtension)

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

PlayMedia(IUNNotificationContentExtension)

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

Applies to