Bagikan melalui


UIApplicationDelegate_Extensions.DidReceiveRemoteNotification Metode

Definisi

Menunjukkan bahwa aplikasi menerima pemberitahuan jarak jauh.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void DidReceiveRemoteNotification (this UIKit.IUIApplicationDelegate This, UIKit.UIApplication application, Foundation.NSDictionary userInfo, Action<UIKit.UIBackgroundFetchResult> completionHandler);
static member DidReceiveRemoteNotification : UIKit.IUIApplicationDelegate * UIKit.UIApplication * Foundation.NSDictionary * Action<UIKit.UIBackgroundFetchResult> -> unit

Parameter

This
IUIApplicationDelegate

Instans tempat metode ekstensi ini beroperasi.

application
UIApplication

Menangani UIApplication.

userInfo
NSDictionary
completionHandler
Action<UIBackgroundFetchResult>

Panggilan balik untuk memanggil untuk memberi tahu sistem operasi hasil operasi pengambilan latar belakang.

Atribut

Berlaku untuk