PKPassLibrary.ActivatePaymentPass Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ActivatePaymentPass(PKPaymentPass, NSData, Action<Boolean,NSError>) |
Activates the specified |
ActivatePaymentPass(PKPaymentPass, String, Action<Boolean,NSError>) |
Activates the specified |
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
- 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
- Attributes