This commit is contained in:
18142669586
2024-02-23 16:07:50 +08:00
commit a02f7b2e22
5737 changed files with 438436 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
package com.samsung.android.iap;
import com.samsung.android.iap.IAPServiceCallback;
interface IAPConnector {
boolean requestCmd(IAPServiceCallback callback, in Bundle bundle);
boolean unregisterCallback(IAPServiceCallback callback);
///////////////////////////// IAP 5.0
Bundle getProductsDetails(String packageName, String itemIds, int pagingIndex, int mode);
Bundle getOwnedList(String packageName, String itemType, int pagingIndex, int mode);
Bundle consumePurchasedItems(String packageName, String purchaseIds, int mode);
Bundle requestServiceAPI(String packageName, String requestId, String extraData);
}

View File

@@ -0,0 +1,7 @@
package com.samsung.android.iap;
import android.os.Bundle;
interface IAPServiceCallback {
oneway void responseCallback(in Bundle bundle);
}