MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / run

Method run

Ports/iOSPort/src/com/codename1/impl/ios/IOSNfc.java:277–290  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

275 }
276 Display.getInstance().callSerially(new Runnable() {
277 public void run() {
278 if (r.isDone()) {
279 return;
280 }
281 try {
282 NdefMessage msg = NdefMessage.parse(raw);
283 Set<TagType> types = new HashSet<TagType>();
284 types.add(TagType.NDEF);
285 r.complete(new IOSTag(0L, types, new byte[0],
286 msg, true, -1));
287 } catch (NfcException e) {
288 r.error(e);
289 }
290 }
291 });
292 }
293

Callers

nothing calls this directly

Calls 15

parseMethod · 0.95
addMethod · 0.95
decodeTechMaskMethod · 0.95
valueOfMethod · 0.95
valueOfMethod · 0.95
getInstanceMethod · 0.95
swUnknownErrorMethod · 0.80
hceSendResponseMethod · 0.80
isDoneMethod · 0.65
completeMethod · 0.65
errorMethod · 0.65
putMethod · 0.65

Tested by

no test coverage detected