IPKPaymentAuthorizationControllerDelegate.DidAuthorizePayment Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Os desenvolvedores não devem usar esse método preterido. Os desenvolvedores devem usar a sobrecarga 'DidAuthorizePayment' com o parâmetro 'Action<PKPaymentAuthorizationResult>'.
[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
Parâmetros
- controller
- PKPaymentAuthorizationController
- payment
- PKPayment
- completion
- Action<PKPaymentAuthorizationStatus>
- Atributos