Что такое IInAppBillingService.aidl в биллинге Google в приложении?
Я не знаю, что такое файл IInAppBillingService.aidl в биллинге Google в приложении. Это Java-файл или как это работает в проекте. Также главное, как мы можем использовать этот тип файла для других функций в Android Studio. а также хочу знать, как он компилируется при сборке apk. кто-нибудь знает о файле.aidl
3 ответа
Если вы хотите узнать о файле 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
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.
Согласно документации,
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