Share via


IUIApplicationDelegate.RegisteredForRemoteNotifications Method

Definition

Indicates that the device successfully registered with Apple Push Service.

[Foundation.Export("application:didRegisterForRemoteNotificationsWithDeviceToken:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void RegisteredForRemoteNotifications(UIKit.UIApplication application, Foundation.NSData deviceToken);
[<Foundation.Export("application:didRegisterForRemoteNotificationsWithDeviceToken:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RegisteredForRemoteNotifications : UIKit.UIApplication * Foundation.NSData -> unit
override this.RegisteredForRemoteNotifications : UIKit.UIApplication * Foundation.NSData -> unit

Parameters

application
UIApplication

Reference to the UIApplication that invoked this delegate method.

deviceToken
NSData
Attributes

Applies to