UNNotificationContentExtension_Extensions.GetMediaPlayPauseButtonFrame Method

Definition

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

public static CoreGraphics.CGRect GetMediaPlayPauseButtonFrame (this UserNotificationsUI.IUNNotificationContentExtension This);
static member GetMediaPlayPauseButtonFrame : UserNotificationsUI.IUNNotificationContentExtension -> CoreGraphics.CGRect

Parameters

This
IUNNotificationContentExtension

The instance on which this extension method operates.

Returns

The rectangle that will be used to display a playback button.

Applies to