Editar

Compartilhar via


PKPushRegistryDelegate.DidReceiveIncomingPush Method

Definition

Overloads

DidReceiveIncomingPush(PKPushRegistry, PKPushPayload, String)

Developers should not use this deprecated method. Developers should use the 'DidReceiveIncomingPushWithPayload' overload accepting an 'Action' argument instead.

DidReceiveIncomingPush(PKPushRegistry, PKPushPayload, String, Action)

DidReceiveIncomingPush(PKPushRegistry, PKPushPayload, String)

Developers should not use this deprecated method. Developers should use the 'DidReceiveIncomingPushWithPayload' overload accepting an 'Action' argument instead.

[Foundation.Export("pushRegistry:didReceiveIncomingPushWithPayload:forType:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use the 'DidReceiveIncomingPushWithPayload' overload accepting an 'Action' argument instead.")]
public abstract void DidReceiveIncomingPush (PushKit.PKPushRegistry registry, PushKit.PKPushPayload payload, string type);
abstract member DidReceiveIncomingPush : PushKit.PKPushRegistry * PushKit.PKPushPayload * string -> unit

Parameters

registry
PKPushRegistry
payload
PKPushPayload
type
String

Implements

Attributes

Applies to

DidReceiveIncomingPush(PKPushRegistry, PKPushPayload, String, Action)

[Foundation.Export("pushRegistry:didReceiveIncomingPushWithPayload:forType:withCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidReceiveIncomingPush (PushKit.PKPushRegistry registry, PushKit.PKPushPayload payload, string type, Action completion);
abstract member DidReceiveIncomingPush : PushKit.PKPushRegistry * PushKit.PKPushPayload * string * Action -> unit
override this.DidReceiveIncomingPush : PushKit.PKPushRegistry * PushKit.PKPushPayload * string * Action -> unit

Parameters

registry
PKPushRegistry
payload
PKPushPayload
type
String
completion
Action
Attributes

Applies to