UNNotificationContentExtension_Extensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |