共用方式為


NSApplicationDelegate.RegisteredForRemoteNotifications 方法

定義

[Foundation.Export("application:didRegisterForRemoteNotificationsWithDeviceToken:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RegisteredForRemoteNotifications (AppKit.NSApplication application, Foundation.NSData deviceToken);
abstract member RegisteredForRemoteNotifications : AppKit.NSApplication * Foundation.NSData -> unit
override this.RegisteredForRemoteNotifications : AppKit.NSApplication * Foundation.NSData -> unit

參數

application
NSApplication
deviceToken
NSData
屬性

適用於