Partager via


IPKPaymentAuthorizationControllerDelegate.DidAuthorizePayment Méthode

Définition

Les développeurs ne doivent pas utiliser cette méthode déconseillée. Les développeurs doivent utiliser la surcharge « DidAuthorizePayment » avec le paramètre « Action<PKPaymentAuthorizationResult> » à la place.

[Foundation.Export("paymentAuthorizationController:didAuthorizePayment:completion:")]
[Foundation.Preserve(Conditional=true)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DidAuthorizePayment' overload with the 'Action<PKPaymentAuthorizationResult>' parameter instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DidAuthorizePayment' overload with the 'Action<PKPaymentAuthorizationResult>' parameter instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DidAuthorizePayment' overload with the 'Action<PKPaymentAuthorizationResult>' parameter instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DidAuthorizePayment' overload with the 'Action<PKPaymentAuthorizationResult>' parameter instead.")]
public void DidAuthorizePayment (PassKit.PKPaymentAuthorizationController controller, PassKit.PKPayment payment, Action<PassKit.PKPaymentAuthorizationStatus> completion);
abstract member DidAuthorizePayment : PassKit.PKPaymentAuthorizationController * PassKit.PKPayment * Action<PassKit.PKPaymentAuthorizationStatus> -> unit

Paramètres

payment
PKPayment
Attributs

S’applique à