IPKAddPaymentPassViewControllerDelegate Interface
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.
Delegate object for PKAddPaymentPassViewController whose members are called when prompting for an add payment request and when an PKAddPaymentPassRequest has failed.
[Foundation.Protocol(Name="PKAddPaymentPassViewControllerDelegate", WrapperType=typeof(PassKit.PKAddPaymentPassViewControllerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GenerateRequestWithCertificateChain", ParameterBlockProxy=new System.Type[] { null, null, null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V228) }, ParameterByRef=new System.Boolean[] { false, false, false, false, false }, ParameterType=new System.Type[] { typeof(PassKit.PKAddPaymentPassViewController), typeof(Foundation.NSData[]), typeof(Foundation.NSData), typeof(Foundation.NSData), typeof(System.Action<PassKit.PKAddPaymentPassRequest>) }, Selector="addPaymentPassViewController:generateRequestWithCertificateChain:nonce:nonceSignature:completionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidFinishAddingPaymentPass", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(PassKit.PKAddPaymentPassViewController), typeof(PassKit.PKPaymentPass), typeof(Foundation.NSError) }, Selector="addPaymentPassViewController:didFinishAddingPaymentPass:error:")]
public interface IPKAddPaymentPassViewControllerDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="PKAddPaymentPassViewControllerDelegate", WrapperType=typeof(PassKit.PKAddPaymentPassViewControllerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidFinishAddingPaymentPass", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(PassKit.PKAddPaymentPassViewController), typeof(PassKit.PKPaymentPass), typeof(Foundation.NSError) }, Selector="addPaymentPassViewController:didFinishAddingPaymentPass:error:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GenerateRequestWithCertificateChain", ParameterBlockProxy=new System.Type[] { null, null, null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V212) }, ParameterByRef=new System.Boolean[] { false, false, false, false, false }, ParameterType=new System.Type[] { typeof(PassKit.PKAddPaymentPassViewController), typeof(Foundation.NSData[]), typeof(Foundation.NSData), typeof(Foundation.NSData), typeof(System.Action<PassKit.PKAddPaymentPassRequest>) }, Selector="addPaymentPassViewController:generateRequestWithCertificateChain:nonce:nonceSignature:completionHandler:")]
public interface IPKAddPaymentPassViewControllerDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="PKAddPaymentPassViewControllerDelegate", WrapperType=typeof(PassKit.PKAddPaymentPassViewControllerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GenerateRequestWithCertificateChain", ParameterBlockProxy=new System.Type[] { null, null, null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V228) }, ParameterByRef=new System.Boolean[] { false, false, false, false, false }, ParameterType=new System.Type[] { typeof(PassKit.PKAddPaymentPassViewController), typeof(Foundation.NSData[]), typeof(Foundation.NSData), typeof(Foundation.NSData), typeof(System.Action<PassKit.PKAddPaymentPassRequest>) }, Selector="addPaymentPassViewController:generateRequestWithCertificateChain:nonce:nonceSignature:completionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidFinishAddingPaymentPass", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(PassKit.PKAddPaymentPassViewController), typeof(PassKit.PKPaymentPass), typeof(Foundation.NSError) }, Selector="addPaymentPassViewController:didFinishAddingPaymentPass:error:")>]
type IPKAddPaymentPassViewControllerDelegate = interface
interface INativeObject
interface IDisposable
[<Foundation.Protocol(Name="PKAddPaymentPassViewControllerDelegate", WrapperType=typeof(PassKit.PKAddPaymentPassViewControllerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidFinishAddingPaymentPass", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(PassKit.PKAddPaymentPassViewController), typeof(PassKit.PKPaymentPass), typeof(Foundation.NSError) }, Selector="addPaymentPassViewController:didFinishAddingPaymentPass:error:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GenerateRequestWithCertificateChain", ParameterBlockProxy=new System.Type[] { null, null, null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V212) }, ParameterByRef=new System.Boolean[] { false, false, false, false, false }, ParameterType=new System.Type[] { typeof(PassKit.PKAddPaymentPassViewController), typeof(Foundation.NSData[]), typeof(Foundation.NSData), typeof(Foundation.NSData), typeof(System.Action<PassKit.PKAddPaymentPassRequest>) }, Selector="addPaymentPassViewController:generateRequestWithCertificateChain:nonce:nonceSignature:completionHandler:")>]
type IPKAddPaymentPassViewControllerDelegate = interface
interface INativeObject
interface IDisposable
- Derived
- Attributes
- Implements
Properties
| Name | Description |
|---|---|
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
Methods
| Name | Description |
|---|---|
| DidFinishAddingPaymentPass(PKAddPaymentPassViewController, PKPaymentPass, NSError) |
Called to prompt the user for an "add payment" request. |
| GenerateRequestWithCertificateChain(PKAddPaymentPassViewController, NSData[], NSData, NSData, Action<PKAddPaymentPassRequest>) |
Called to create an "add payment" request. |
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |