Billing.BillingService.RequestPurchaseMethod C# (CSharp) Метод

RequestPurchaseMethod() публичный Метод

Requests that the given item be offered to the user for purchase. When the purchase succeeds (or is canceled) the BillingReceiver receives an intent with the action Consts#ACTION_NOTIFY. Returns false if there was an error trying to connect to Android Market.
public RequestPurchaseMethod ( string productId, string itemType, string developerPayload ) : bool
productId string an identifier for the item being offered for purchase
itemType string Either Consts.ITEM_TYPE_INAPP or Consts.ITEM_TYPE_SUBSCRIPTION, indicating /// the type of item type support is being checked for.
developerPayload string a payload that is associated with a given /// purchase, if null, no payload is sent
Результат bool
        public virtual bool RequestPurchaseMethod(string productId, string itemType, string developerPayload)
        {
            return new RequestPurchase(this, productId, itemType, developerPayload).RunRequest();
        }