IPKPushRegistryDelegate.DidReceiveIncomingPush 方法

定义

开发人员不应使用此已弃用的方法。 开发人员应改用“DidReceiveIncomingPushWithPayload”重载接受“Action”参数。

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

参数

registry
PKPushRegistry
payload
PKPushPayload
type
String
属性

适用于