Difference between revisions of "GoogleBilling:checkBillingSupported"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2012.09<br/>
+
'''<translate>Available since</translate>:''' Gideros 2012.09<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
This request verifies that the Google Play application supports in-app billing.<br />
 
This request verifies that the Google Play application supports in-app billing.<br />
Line 11: Line 11:
 
(bool) = GoogleBilling:checkBillingSupported(productType)
 
(bool) = GoogleBilling:checkBillingSupported(productType)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''productType''': (string, optional) <translate>The item type. It can be GoogleBilling.INAPP or GoogleBilling.SUBS.</translate> <br/>
 
'''productType''': (string, optional) <translate>The item type. It can be GoogleBilling.INAPP or GoogleBilling.SUBS.</translate> <br/>
=== Return values ===
+
=== <translate>Return values</translate> ===
'''Returns''' (bool) <translate>[[Special:MyLanguage/true|true]] if in-app billing service is available, [[Special:MyLanguage/false|false]] otherwise.</translate><br/>
+
'''<translate>Returns</translate>''' (bool) <translate>[[Special:MyLanguage/true|true]] if in-app billing service is available, [[Special:MyLanguage/false|false]] otherwise.</translate><br/>

Revision as of 08:28, 24 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)

Parameters

productType: (string, optional) The item type. It can be GoogleBilling.INAPP or GoogleBilling.SUBS.

Return values

Returns (bool) true if in-app billing service is available, false otherwise.