Partager via


IPKPushRegistryDelegate.DidReceiveIncomingPush Méthode

Définition

Les développeurs ne doivent pas utiliser cette méthode déconseillée. Les développeurs doivent utiliser la surcharge « DidReceiveIncomingPushWithPayload » en acceptant un argument « Action » à la place.

[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

Paramètres

registry
PKPushRegistry
payload
PKPushPayload
type
String
Attributs

S’applique à