Поделиться через


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
Атрибуты

Применяется к