IUNNotificationContentExtension インターフェイス

定義

カスタム UI を使用してビュー コントローラーのビューから通知コンテンツを表示するために必要なプロトコルの必須メソッド (存在 UNNotificationContent する場合) を含むインターフェイス。

[Foundation.Protocol(Name="UNNotificationContentExtension", WrapperType=typeof(UserNotificationsUI.UNNotificationContentExtensionWrapper))]
[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 interface IUNNotificationContentExtension : IDisposable, ObjCRuntime.INativeObject
type IUNNotificationContentExtension = interface
    interface INativeObject
    interface IDisposable
属性
実装

プロパティ

Handle

アンマネージ オブジェクト表現へのハンドル (ポインター)。

(継承元 INativeObject)

メソッド

DidReceiveNotification(UNNotification)

アプリケーションが通知を送信したときに呼び出されるメソッド。

拡張メソッド

DidReceiveNotificationResponse(IUNNotificationContentExtension, UNNotificationResponse, Action<UNNotificationContentExtensionResponseOption>)

カスタム UI を使用してビュー コントローラーのビューから通知コンテンツを表示するために必要なプロトコルの必須メソッド (存在 UNNotificationContent する場合) を含むインターフェイス。

GetMediaPlayPauseButtonFrame(IUNNotificationContentExtension)

再生ボタンの表示に使用する四角形を返します。

GetMediaPlayPauseButtonTintColor(IUNNotificationContentExtension)

再生ボタンの濃淡の色を返します。

GetMediaPlayPauseButtonType(IUNNotificationContentExtension)

カスタム UI を使用してビュー コントローラーのビューから通知コンテンツを表示するために必要なプロトコルの必須メソッド (存在 UNNotificationContent する場合) を含むインターフェイス。

PauseMedia(IUNNotificationContentExtension)

ユーザーが一時停止ボタンを押したときに呼び出されるメソッド。

PlayMedia(IUNNotificationContentExtension)

ユーザーが再生ボタンを押したときに呼び出されるメソッド。

適用対象