Метод | Описание | |
---|---|---|
Init ( Android context, string developerUuid ) : void |
Initializes the facade. Should only be called once.
|
|
RequestGamerInfoAsync ( ) : Task |
Requests the current gamer's info.
|
|
RequestProductListAsync ( ) : Task |
Returns a list of Product objects that describe the products (including current price) associated with the specified list of Purchasables.
|
|
RequestProductListAsync ( IList |
Returns a list of Product objects that describe the products (including current price) associated with the specified list of Purchasables.
|
|
RequestPurchaseAsync ( Product product ) : Task |
Requests that the specified Purchasable be purchased on behalf of the current user. The IAP client service is responsible for identifying the user and requesting credentials as appropriate, as well as providing all of the UI for the purchase flow. When purchases are successful, a Product object is returned that describes the product that was purchased.
|
|
RequestReceiptsAsync ( ) : Task |
Requests the current receipts from the Store. If the Store is not available, the cached receipts from a previous call are returned.
|
Метод | Описание | |
---|---|---|
Log ( string msg ) : void | ||
RequestGamerUuidAsync ( ) : Task |
public Init ( Android context, string developerUuid ) : void | ||
context | Android | An Android Context object. Usually the Activity object. |
developerUuid | string | The developer UUID, which is obtained from the developer portal. |
Результат | void |
public RequestProductListAsync ( ) : Task |
||
Результат | Task |
public RequestProductListAsync ( IList |
||
purchasables | IList |
A list of Purchasable objects that identify the products to be returned. |
Результат | Task |
public RequestPurchaseAsync ( Product product ) : Task |
||
product | Product | The Purchasable object that describes the item to be purchased. |
Результат | Task |