IPKPushRegistryDelegate.DidReceiveIncomingPush 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
开发人员不应使用此已弃用的方法。 开发人员应改用“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
- 属性