編集

次の方法で共有


PKPassLibrary.ActivatePaymentPass Method

Definition

Overloads

ActivatePaymentPass(PKPaymentPass, NSData, Action<Boolean,NSError>)

Activates the specified paymentPass with the activation code in activationData.

ActivatePaymentPass(PKPaymentPass, String, Action<Boolean,NSError>)

Activates the specified paymentPass with the activation code in activationData.

ActivatePaymentPass(PKPaymentPass, NSData, Action<Boolean,NSError>)

Activates the specified paymentPass with the activation code in activationData.

[Foundation.Export("activatePaymentPass:withActivationData:completion:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void ActivatePaymentPass (PassKit.PKPaymentPass paymentPass, Foundation.NSData activationData, Action<bool,Foundation.NSError> completion);
abstract member ActivatePaymentPass : PassKit.PKPaymentPass * Foundation.NSData * Action<bool, Foundation.NSError> -> unit
override this.ActivatePaymentPass : PassKit.PKPaymentPass * Foundation.NSData * Action<bool, Foundation.NSError> -> unit

Parameters

paymentPass
PKPaymentPass
activationData
NSData
completion
Action<Boolean,NSError>

To be added.

This parameter can be null.

Attributes

Applies to

ActivatePaymentPass(PKPaymentPass, String, Action<Boolean,NSError>)

Activates the specified paymentPass with the activation code in activationData.

[Foundation.Export("activatePaymentPass:withActivationCode:completion:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ActivatePaymentPass (PKPaymentPass, NSData, Action<bool, NSError> completion)' instead.")]
public virtual void ActivatePaymentPass (PassKit.PKPaymentPass paymentPass, string activationCode, Action<bool,Foundation.NSError> completion);
abstract member ActivatePaymentPass : PassKit.PKPaymentPass * string * Action<bool, Foundation.NSError> -> unit
override this.ActivatePaymentPass : PassKit.PKPaymentPass * string * Action<bool, Foundation.NSError> -> unit

Parameters

paymentPass
PKPaymentPass
activationCode
String
completion
Action<Boolean,NSError>

To be added.

This parameter can be null.

Attributes

Applies to