Difference between revisions of "Event.CHECK BILLING SUPPORTED COMPLETE"

From GiderosMobile
Line 3: Line 3:
 
'''Value:''' checkBillingSupportedComplete<br/>
 
'''Value:''' checkBillingSupportedComplete<br/>
 
=== Description ===
 
=== Description ===
<translate>Dispatched when [[[GoogleBilling:checkBillingSupported]]] function completes with these response codes:
+
<translate>Dispatched when [[GoogleBilling:checkBillingSupported]] function completes with these response codes:
[[[GoogleBilling.OK]]] indicates that purchases can be made
+
[[GoogleBilling.OK]] indicates that purchases can be made
[[[GoogleBilling.SERVICE_UNAVAILABLE]]] indicates that the network connection is down and
+
[[GoogleBilling.SERVICE_UNAVAILABLE]] indicates that the network connection is down and
[[[GoogleBilling.BILLING_UNAVAILABLE]]] indicates that in-app billing is not available because the API version that you specified is not recognized by the Google Play application or the user is ineligible for in-app billing (for example, the user resides in a country that prohibits in-app purchases).</translate>
+
[[GoogleBilling.BILLING_UNAVAILABLE]] indicates that in-app billing is not available because the API version that you specified is not recognized by the Google Play application or the user is ineligible for in-app billing (for example, the user resides in a country that prohibits in-app purchases).</translate>
 
=== Parameters ===
 
=== Parameters ===
 
'''responseCode''': (string) <translate>response code</translate><br/>
 
'''responseCode''': (string) <translate>response code</translate><br/>
 
'''productType''': (string) <translate>type of product available or nil if any product type can be used</translate><br/>
 
'''productType''': (string) <translate>type of product available or nil if any product type can be used</translate><br/>

Revision as of 13:55, 23 August 2018

Available since: Gideros 2012.09
Value: checkBillingSupportedComplete

Description

Dispatched when GoogleBilling:checkBillingSupported function completes with these response codes: GoogleBilling.OK indicates that purchases can be made GoogleBilling.SERVICE_UNAVAILABLE indicates that the network connection is down and GoogleBilling.BILLING_UNAVAILABLE indicates that in-app billing is not available because the API version that you specified is not recognized by the Google Play application or the user is ineligible for in-app billing (for example, the user resides in a country that prohibits in-app purchases).

Parameters

responseCode: (string) response code
productType: (string) type of product available or nil if any product type can be used