MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / run

Method run

src/plugins/iap/src/com/foxdebug/iap/Iap.java:75–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73 .execute(
74 new Runnable() {
75 public void run() {
76 switch (action) {
77 case "startConnection":
78 startConnection(callbackContext);
79 break;
80 case "getProducts":
81 getProducts(getStringList(args, 0), callbackContext);
82 break;
83 case "setPurchaseUpdatedListener":
84 setPurchaseUpdatedListener(callbackContext);
85 break;
86 case "purchase":
87 purchase(arg1, callbackContext);
88 break;
89 case "consume":
90 consume(arg1, callbackContext);
91 break;
92 case "getPurchases":
93 getPurchases(callbackContext);
94 break;
95 case "acknowledgePurchase":
96 acknowledgePurchase(arg1, callbackContext);
97 break;
98 }
99 }
100 }
101 );
102

Callers 6

runFsTestsFunction · 0.45
runCodeMirrorTestsFunction · 0.45
runUrlTestsFunction · 0.45
runExecutorTestsFunction · 0.45
runAceCompatibilityTestsFunction · 0.45
runSanityTestsFunction · 0.45

Calls 8

startConnectionMethod · 0.95
getProductsMethod · 0.95
getStringListMethod · 0.95
purchaseMethod · 0.95
consumeMethod · 0.95
getPurchasesMethod · 0.95
acknowledgePurchaseMethod · 0.95

Tested by 1

runAceCompatibilityTestsFunction · 0.36