共用方式為


PKPaymentAuthorizationViewControllerDelegate.DidAuthorizePayment2 方法

定義

[Foundation.Export("paymentAuthorizationViewController:didAuthorizePayment:handler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidAuthorizePayment2 (PassKit.PKPaymentAuthorizationViewController controller, PassKit.PKPayment payment, Action<PassKit.PKPaymentAuthorizationResult> completion);
abstract member DidAuthorizePayment2 : PassKit.PKPaymentAuthorizationViewController * PassKit.PKPayment * Action<PassKit.PKPaymentAuthorizationResult> -> unit
override this.DidAuthorizePayment2 : PassKit.PKPaymentAuthorizationViewController * PassKit.PKPayment * Action<PassKit.PKPaymentAuthorizationResult> -> unit

參數

payment
PKPayment
屬性

適用於