Google for-app结算中的IInAppBillingService.aidl是什么?

时间:2016-03-29 11:21:15

标签: android android-inapp-purchase

我不知道谷歌应用内结算中的IInAppBillingService.aidl文件是什么。它是java文件或它在项目中的工作方式。还有一件事是我们如何在android studio中将此类型文件用于其他功能。并且还想知道在我们构建apk时它是如何编译的。任何人都知道.aidl文件

3 个答案:

答案 0 :(得分:1)

如果您想了解aidl文件,可以在此处查看:

http://developer.android.com/guide/components/aidl.html

此外,如果您想要清除InAppBillingService.aidl,请注意:

IInAppBillingService.aidl is an Android Interface Definition Language (AIDL) file that defines the interface to the In-app Billing Version 3 service. You will use this interface to make billing requests by invoking IPC method calls.

http://developer.android.com/google/play/billing/billing_integrate.html

答案 1 :(得分:0)

答案 2 :(得分:0)

InAppBillingService是服务,提供应用内结算版本3及更高版本。

此服务提供以下功能:

1. Provides a new API to get details of in-app items published for the app including
price, type, title and description.

2. The purchase flow is synchronous and purchase information is available immediately
 after it completes.

3. Purchase information of in-app purchases is maintained within the Google Play system
 till the purchase is consumed.

4. An API to consume a purchase of an inapp item. All purchases of one-time
 in-app items are consumable and thereafter can be purchased again.

5. An API to get current purchases of the user immediately. This will not contain any
 consumed purchases.