三星内购
This commit is contained in:
@@ -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);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package com.samsung.android.iap;
|
||||
|
||||
import android.os.Bundle;
|
||||
|
||||
interface IAPServiceCallback {
|
||||
oneway void responseCallback(in Bundle bundle);
|
||||
}
|
||||
Reference in New Issue
Block a user