Package org.robovm.apple.passkit
Class PKPassLibrary
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.passkit.PKPassLibrary
- All Implemented Interfaces:
NSObjectProtocol,ObjCProtocol
public class PKPassLibrary extends NSObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPKPassLibrary.Notificationsstatic classPKPassLibrary.PKPassLibraryPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description PKPassLibrary()protectedPKPassLibrary(NSObject.Handle h, long handle)protectedPKPassLibrary(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description voidactivatePaymentPass(PKPaymentPass paymentPass, String activationCode, VoidBlock2<Boolean,NSError> completion)Deprecated.Deprecated in iOS 9.0.voidactivatePaymentPass(PKPaymentPass paymentPass, NSData activationData, VoidBlock2<Boolean,NSError> completion)Deprecated.Use activateSecureElementPass:withActivationData:completion: insteadvoidactivateSecureElementPass(PKSecureElementPass secureElementPass, NSData activationData, VoidBlock2<Boolean,NSError> completion)voidaddPasses(NSArray<PKPass> passes, VoidBlock1<PKPassLibraryAddPassesStatus> completion)booleancanAddFelicaPass()booleancanAddPaymentPass(String primaryAccountIdentifier)Deprecated.Use -[PKPassLibrary canAddSecureElementPassWithPrimaryAccountIdentifier] insteadbooleancanAddSecureElementPass(String primaryAccountIdentifier)booleancontainsPass(PKPass pass)static NSStringDidChangeNotification()static voidendAutomaticPassPresentationSuppression(long requestToken)PKPassgetPass(String identifier, String serialNumber)NSArray<PKPass>getPasses()NSArray<PKPass>getPassesOfType(PKPassType passType)NSArray<PKPass>getRemotePaymentPasses()Deprecated.Use -[PKPassLibrary remoteSecureElementPasses] insteadNSArray<PKSecureElementPass>getRemoteSecureElementPasses()static booleanisDevicePaymentPassActivationAvailable()Deprecated.Deprecated in iOS 9.0.static booleanisPassLibraryAvailable()booleanisPaymentPassActivationAvailable()Deprecated.Use -[PKPassLibrary isSecureElementPassActivationAvailable] insteadbooleanisSecureElementPassActivationAvailable()static booleanisSuppressingAutomaticPassPresentation()voidopenPaymentSetup()voidpresentPaymentPass(PKPaymentPass pass)Deprecated.Use -[PKPassLibrary presentSecureElementPass:] insteadvoidpresentSecureElementPass(PKSecureElementPass pass)static NSStringRemotePaymentPassesDidChangeNotification()voidremovePass(PKPass pass)booleanreplacePass(PKPass pass)static longrequestAutomaticPassPresentationSuppression(VoidBlock1<PKAutomaticPassPresentationSuppressionResult> responseHandler)voidserviceProviderDataForSecureElementPass(PKSecureElementPass secureElementPass, VoidBlock2<NSData,NSError> completion)voidsignData(NSData signData, PKSecureElementPass secureElementPass, VoidBlock3<NSData,NSData,NSError> completion)Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
PKPassLibrary
public PKPassLibrary() -
PKPassLibrary
-
PKPassLibrary
-
-
Method Details
-
isSecureElementPassActivationAvailable
public boolean isSecureElementPassActivationAvailable()- Since:
- Available in iOS 13.4 and later.
-
getRemoteSecureElementPasses
- Since:
- Available in iOS 13.4 and later.
-
DidChangeNotification
-
RemotePaymentPassesDidChangeNotification
- Since:
- Available in iOS 9.0 and later.
-
isPaymentPassActivationAvailable
Deprecated.Use -[PKPassLibrary isSecureElementPassActivationAvailable] instead- Since:
- Available in iOS 9.0 and later.
-
getPasses
-
getPass
-
getPassesOfType
-
getRemotePaymentPasses
Deprecated.Use -[PKPassLibrary remoteSecureElementPasses] instead- Since:
- Available in iOS 9.0 and later.
-
removePass
-
containsPass
-
replacePass
-
addPasses
-
openPaymentSetup
public void openPaymentSetup()- Since:
- Available in iOS 8.3 and later.
-
presentPaymentPass
Deprecated.Use -[PKPassLibrary presentSecureElementPass:] instead- Since:
- Available in iOS 10.0 and later.
-
presentSecureElementPass
- Since:
- Available in iOS 13.4 and later.
-
canAddPaymentPass
Deprecated.Use -[PKPassLibrary canAddSecureElementPassWithPrimaryAccountIdentifier] instead- Since:
- Available in iOS 9.0 and later.
-
canAddSecureElementPass
- Since:
- Available in iOS 13.4 and later.
-
canAddFelicaPass
public boolean canAddFelicaPass()- Since:
- Available in iOS 10.1 and later.
-
activatePaymentPass
@Deprecated public void activatePaymentPass(PKPaymentPass paymentPass, NSData activationData, VoidBlock2<Boolean,NSError> completion)Deprecated.Use activateSecureElementPass:withActivationData:completion: instead -
activatePaymentPass
@Deprecated public void activatePaymentPass(PKPaymentPass paymentPass, String activationCode, VoidBlock2<Boolean,NSError> completion)Deprecated.Deprecated in iOS 9.0. Use activatePaymentPass:withActivationData:completion: instead -
activateSecureElementPass
public void activateSecureElementPass(PKSecureElementPass secureElementPass, NSData activationData, VoidBlock2<Boolean,NSError> completion)- Since:
- Available in iOS 13.4 and later.
-
signData
public void signData(NSData signData, PKSecureElementPass secureElementPass, VoidBlock3<NSData,NSData,NSError> completion)- Since:
- Available in iOS 13.4 and later.
-
serviceProviderDataForSecureElementPass
public void serviceProviderDataForSecureElementPass(PKSecureElementPass secureElementPass, VoidBlock2<NSData,NSError> completion)- Since:
- Available in iOS 15.0 and later.
-
isPassLibraryAvailable
public static boolean isPassLibraryAvailable() -
requestAutomaticPassPresentationSuppression
public static long requestAutomaticPassPresentationSuppression(VoidBlock1<PKAutomaticPassPresentationSuppressionResult> responseHandler)- Since:
- Available in iOS 9.0 and later.
-
endAutomaticPassPresentationSuppression
public static void endAutomaticPassPresentationSuppression(long requestToken)- Since:
- Available in iOS 9.0 and later.
-
isSuppressingAutomaticPassPresentation
public static boolean isSuppressingAutomaticPassPresentation()- Since:
- Available in iOS 9.0 and later.
-
isDevicePaymentPassActivationAvailable
Deprecated.Deprecated in iOS 9.0. Use -[PKPassLibrary isPaymentPassActivationAvailable] instead
-