PassKit.PKPassLibrary: Method Members

The methods of PassKit.PKPassLibrary are listed below. For a list of all members, see the PKPassLibrary Members list.

See Also: Inherited members from Foundation.NSObject

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.