|
| 1 | +// Auto-generated by Java-to-Swift wrapper generator. |
| 2 | +import AndroidApp |
| 3 | +import AndroidContent |
| 4 | +import SwiftJava |
| 5 | +import SwiftJavaJNICore |
| 6 | + |
| 7 | +@JavaClass("android.nfc.cardemulation.CardEmulation") |
| 8 | +open class CardEmulation: JavaObject { |
| 9 | + /// Java method `setShouldDefaultToObserveModeForService`. |
| 10 | + /// |
| 11 | + /// ### Java method signature |
| 12 | + /// ```java |
| 13 | + /// public boolean android.nfc.cardemulation.CardEmulation.setShouldDefaultToObserveModeForService(android.content.ComponentName,boolean) |
| 14 | + /// ``` |
| 15 | +@JavaMethod |
| 16 | + open func setShouldDefaultToObserveModeForService(_ arg0: ComponentName?, _ arg1: Bool) -> Bool |
| 17 | + |
| 18 | + /// Java method `registerPollingLoopFilterForService`. |
| 19 | + /// |
| 20 | + /// ### Java method signature |
| 21 | + /// ```java |
| 22 | + /// public boolean android.nfc.cardemulation.CardEmulation.registerPollingLoopFilterForService(android.content.ComponentName,java.lang.String,boolean) |
| 23 | + /// ``` |
| 24 | +@JavaMethod |
| 25 | + open func registerPollingLoopFilterForService(_ arg0: ComponentName?, _ arg1: String, _ arg2: Bool) -> Bool |
| 26 | + |
| 27 | + /// Java method `registerPollingLoopPatternFilterForService`. |
| 28 | + /// |
| 29 | + /// ### Java method signature |
| 30 | + /// ```java |
| 31 | + /// public boolean android.nfc.cardemulation.CardEmulation.registerPollingLoopPatternFilterForService(android.content.ComponentName,java.lang.String,boolean) |
| 32 | + /// ``` |
| 33 | +@JavaMethod |
| 34 | + open func registerPollingLoopPatternFilterForService(_ arg0: ComponentName?, _ arg1: String, _ arg2: Bool) -> Bool |
| 35 | + |
| 36 | + /// Java method `removePollingLoopPatternFilterForService`. |
| 37 | + /// |
| 38 | + /// ### Java method signature |
| 39 | + /// ```java |
| 40 | + /// public boolean android.nfc.cardemulation.CardEmulation.removePollingLoopPatternFilterForService(android.content.ComponentName,java.lang.String) |
| 41 | + /// ``` |
| 42 | +@JavaMethod |
| 43 | + open func removePollingLoopPatternFilterForService(_ arg0: ComponentName?, _ arg1: String) -> Bool |
| 44 | + |
| 45 | + /// Java method `getRouteDestinationForPreferredPaymentService`. |
| 46 | + /// |
| 47 | + /// ### Java method signature |
| 48 | + /// ```java |
| 49 | + /// public java.lang.String android.nfc.cardemulation.CardEmulation.getRouteDestinationForPreferredPaymentService() |
| 50 | + /// ``` |
| 51 | +@JavaMethod |
| 52 | + open func getRouteDestinationForPreferredPaymentService() -> String |
| 53 | + |
| 54 | + /// Java method `isDefaultServiceForCategory`. |
| 55 | + /// |
| 56 | + /// ### Java method signature |
| 57 | + /// ```java |
| 58 | + /// public boolean android.nfc.cardemulation.CardEmulation.isDefaultServiceForCategory(android.content.ComponentName,java.lang.String) |
| 59 | + /// ``` |
| 60 | +@JavaMethod |
| 61 | + open func isDefaultServiceForCategory(_ arg0: ComponentName?, _ arg1: String) -> Bool |
| 62 | + |
| 63 | + /// Java method `isDefaultServiceForAid`. |
| 64 | + /// |
| 65 | + /// ### Java method signature |
| 66 | + /// ```java |
| 67 | + /// public boolean android.nfc.cardemulation.CardEmulation.isDefaultServiceForAid(android.content.ComponentName,java.lang.String) |
| 68 | + /// ``` |
| 69 | +@JavaMethod |
| 70 | + open func isDefaultServiceForAid(_ arg0: ComponentName?, _ arg1: String) -> Bool |
| 71 | + |
| 72 | + /// Java method `categoryAllowsForegroundPreference`. |
| 73 | + /// |
| 74 | + /// ### Java method signature |
| 75 | + /// ```java |
| 76 | + /// public boolean android.nfc.cardemulation.CardEmulation.categoryAllowsForegroundPreference(java.lang.String) |
| 77 | + /// ``` |
| 78 | +@JavaMethod |
| 79 | + open func categoryAllowsForegroundPreference(_ arg0: String) -> Bool |
| 80 | + |
| 81 | + /// Java method `getSelectionModeForCategory`. |
| 82 | + /// |
| 83 | + /// ### Java method signature |
| 84 | + /// ```java |
| 85 | + /// public int android.nfc.cardemulation.CardEmulation.getSelectionModeForCategory(java.lang.String) |
| 86 | + /// ``` |
| 87 | +@JavaMethod |
| 88 | + open func getSelectionModeForCategory(_ arg0: String) -> Int32 |
| 89 | + |
| 90 | + /// Java method `removePollingLoopFilterForService`. |
| 91 | + /// |
| 92 | + /// ### Java method signature |
| 93 | + /// ```java |
| 94 | + /// public boolean android.nfc.cardemulation.CardEmulation.removePollingLoopFilterForService(android.content.ComponentName,java.lang.String) |
| 95 | + /// ``` |
| 96 | +@JavaMethod |
| 97 | + open func removePollingLoopFilterForService(_ arg0: ComponentName?, _ arg1: String) -> Bool |
| 98 | + |
| 99 | + /// Java method `unsetOffHostForService`. |
| 100 | + /// |
| 101 | + /// ### Java method signature |
| 102 | + /// ```java |
| 103 | + /// public boolean android.nfc.cardemulation.CardEmulation.unsetOffHostForService(android.content.ComponentName) |
| 104 | + /// ``` |
| 105 | +@JavaMethod |
| 106 | + open func unsetOffHostForService(_ arg0: ComponentName?) -> Bool |
| 107 | + |
| 108 | + /// Java method `setOffHostForService`. |
| 109 | + /// |
| 110 | + /// ### Java method signature |
| 111 | + /// ```java |
| 112 | + /// public boolean android.nfc.cardemulation.CardEmulation.setOffHostForService(android.content.ComponentName,java.lang.String) |
| 113 | + /// ``` |
| 114 | +@JavaMethod |
| 115 | + open func setOffHostForService(_ arg0: ComponentName?, _ arg1: String) -> Bool |
| 116 | + |
| 117 | + /// Java method `removeAidsForService`. |
| 118 | + /// |
| 119 | + /// ### Java method signature |
| 120 | + /// ```java |
| 121 | + /// public boolean android.nfc.cardemulation.CardEmulation.removeAidsForService(android.content.ComponentName,java.lang.String) |
| 122 | + /// ``` |
| 123 | +@JavaMethod |
| 124 | + open func removeAidsForService(_ arg0: ComponentName?, _ arg1: String) -> Bool |
| 125 | + |
| 126 | + /// Java method `setPreferredService`. |
| 127 | + /// |
| 128 | + /// ### Java method signature |
| 129 | + /// ```java |
| 130 | + /// public boolean android.nfc.cardemulation.CardEmulation.setPreferredService(android.app.Activity,android.content.ComponentName) |
| 131 | + /// ``` |
| 132 | +@JavaMethod |
| 133 | + open func setPreferredService(_ arg0: Activity?, _ arg1: ComponentName?) -> Bool |
| 134 | + |
| 135 | + /// Java method `unsetPreferredService`. |
| 136 | + /// |
| 137 | + /// ### Java method signature |
| 138 | + /// ```java |
| 139 | + /// public boolean android.nfc.cardemulation.CardEmulation.unsetPreferredService(android.app.Activity) |
| 140 | + /// ``` |
| 141 | +@JavaMethod |
| 142 | + open func unsetPreferredService(_ arg0: Activity?) -> Bool |
| 143 | + |
| 144 | + /// Java method `supportsAidPrefixRegistration`. |
| 145 | + /// |
| 146 | + /// ### Java method signature |
| 147 | + /// ```java |
| 148 | + /// public boolean android.nfc.cardemulation.CardEmulation.supportsAidPrefixRegistration() |
| 149 | + /// ``` |
| 150 | +@JavaMethod |
| 151 | + open func supportsAidPrefixRegistration() -> Bool |
| 152 | +} |
| 153 | +extension JavaClass<CardEmulation> { |
| 154 | + @available(*, deprecated) |
| 155 | + @JavaStaticField(isFinal: true) |
| 156 | + public var ACTION_CHANGE_DEFAULT: String |
| 157 | + |
| 158 | + @JavaStaticField(isFinal: true) |
| 159 | + public var CATEGORY_OTHER: String |
| 160 | + |
| 161 | + @JavaStaticField(isFinal: true) |
| 162 | + public var CATEGORY_PAYMENT: String |
| 163 | + |
| 164 | + @JavaStaticField(isFinal: true) |
| 165 | + public var EXTRA_CATEGORY: String |
| 166 | + |
| 167 | + @JavaStaticField(isFinal: true) |
| 168 | + public var EXTRA_SERVICE_COMPONENT: String |
| 169 | + |
| 170 | + @JavaStaticField(isFinal: true) |
| 171 | + public var SELECTION_MODE_ALWAYS_ASK: Int32 |
| 172 | + |
| 173 | + @JavaStaticField(isFinal: true) |
| 174 | + public var SELECTION_MODE_ASK_IF_CONFLICT: Int32 |
| 175 | + |
| 176 | + @JavaStaticField(isFinal: true) |
| 177 | + public var SELECTION_MODE_PREFER_DEFAULT: Int32 |
| 178 | + |
| 179 | + /// Java method `getInstance`. |
| 180 | + /// |
| 181 | + /// ### Java method signature |
| 182 | + /// ```java |
| 183 | + /// public static synchronized android.nfc.cardemulation.CardEmulation android.nfc.cardemulation.CardEmulation.getInstance(android.nfc.NfcAdapter) |
| 184 | + /// ``` |
| 185 | + @JavaStaticMethod |
| 186 | + public func getInstance(_ arg0: NfcAdapter?) -> CardEmulation! |
| 187 | +} |
0 commit comments