IPKPaymentAuthorizationControllerDelegate.DidAuthorizePayment Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
- controller
- PKPaymentAuthorizationController
- payment
- PKPayment
- completion
- Action<PKPaymentAuthorizationStatus>
- Attributs