Share via


PKPassLibrary.ActivatePaymentPass Method

Definition

Overloads

Name Description
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 activationCode.

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

Activates the specified paymentPass with the activation code in activationData.

[Foundation.Export("activatePaymentPass:withActivationData:completion:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void ActivatePaymentPass(PassKit.PKPaymentPass paymentPass, Foundation.NSData activationData, Action<bool,Foundation.NSError>? completion);
[<Foundation.Export("activatePaymentPass:withActivationData:completion:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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 activationCode.

[Foundation.Export("activatePaymentPass:withActivationCode:completion:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void ActivatePaymentPass(PassKit.PKPaymentPass paymentPass, string activationCode, Action<bool,Foundation.NSError>? completion);
[<Foundation.Export("activatePaymentPass:withActivationCode:completion:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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