PassKit.PKPassLibrary Members

The members of PassKit.PKPassLibrary are listed below.

See Also: Inherited members from Foundation.NSObject

Public Constructors

Default constructor, initializes a new instance of this class.

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
static
DidChangeNotificationFoundation.NSString. Notification constant for DidChange
[read-only]
static
IsAvailablebool. Whether the pass library is available.
[read-only]
static
IsPaymentPassActivationAvailablebool. Whether the device can add payment passes.

Public Methods

ActivatePaymentPass(PKPaymentPass, Foundation.NSData, Action<bool, Foundation.NSError>)
Activates the specified paymentPass with the activation code in activationData.
ActivatePaymentPass(PKPaymentPass, string, Action<bool, Foundation.NSError>)
Activates the specified paymentPass with the activation code in activationData.
AddPasses(PKPass[], Action<PKPassLibraryAddPassesStatus>)
Presents a standard UX for adding multiple passes.
Contains(PKPass) : bool
Whether the specified pass is available.
GetPass(string, string) : PKPass
Returns the PassKit.PKPass whose PKPass.PassTypeIdentifier and PKPass.SerialNumber match the arguments.
GetPasses() : PKPass[]
The passes in the user's pass library.
GetPasses(PKPassType) : PKPass[]
The passes in the user's pass library whose PKPassType.PassType matches passType.
Remove(PKPass)
Removes the specified pass from the pass library.
Replace(PKPass) : bool
Replaces an existing pass with pass.