コード例 #1
0
 /**
  * @deprecated Use {@link org.onepf.oms.SkuManager#mapSku(String, String, String)}
  * @param sku
  * @param storeName
  * @param storeSku
  */
 public void mapSku(String sku, String storeName, String storeSku) {
   try {
     SkuManager.getInstance().mapSku(sku, storeName, storeSku);
   } catch (Exception e) {
     Log.d(TAG, e.toString());
     UnityPlayer.UnitySendMessage(EVENT_MANAGER, MAP_SKU_FAILED_CALLBACK, e.toString());
   }
 }
コード例 #2
0
 private void destroyBroadcasts() {
   Log.d(TAG, "destroyBroadcasts");
   try {
     UnityPlayer.currentActivity.unregisterReceiver(_billingReceiver);
   } catch (Exception ex) {
     Log.d(TAG, "destroyBroadcasts exception:\n" + ex.getMessage());
   }
 }