Difference between revisions of "GoogleBilling:checkBillingSupported"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09<br/> === Description === <br /> This request verifies that the Google Play application supports in-app billing.<br /> You usua...")
 
Line 9: Line 9:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(bool), = GoogleBilling:checkBillingSupported(productType,)
+
(bool) = GoogleBilling:checkBillingSupported(productType)
 
</source>
 
</source>
'''productType:''' (string, optional) The item type. It can be GoogleBilling.INAPP or GoogleBilling.SUBS. ''''''<br/>
+
'''productType''': (string, optional) The item type. It can be GoogleBilling.INAPP or GoogleBilling.SUBS. ''''''<br/>
 
'''Returns''' (bool) `true` if in-app billing service is available, `false` otherwise.<br/>
 
'''Returns''' (bool) `true` if in-app billing service is available, `false` otherwise.<br/>

Revision as of 11:19, 23 August 2018

Available since: Gideros 2012.09

Description


This request verifies that the Google Play application supports in-app billing.
You usually send this request when your application first starts up. This request is
useful if you want to enable or disable certain UI features that are relevant only to
in-app billing.

(bool) = GoogleBilling:checkBillingSupported(productType)

'productType: (string, optional) The item type. It can be GoogleBilling.INAPP or GoogleBilling.SUBS. '
Returns (bool) `true` if in-app billing service is available, `false` otherwise.