Difference between revisions of "StoreKit:canMakePayments"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 7: Line 7:
 
Returns whether the user is allowed to make payments.<br />
 
Returns whether the user is allowed to make payments.<br />
 
<br /></translate>
 
<br /></translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(bool) = StoreKit:canMakePayments()
 
(bool) = StoreKit:canMakePayments()
 
</source>
 
</source>
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (bool) <translate>''true'' if the user is allowed to authorize payment. ''false'' if they do not have permission.</translate><br/>
 
'''<translate>Returns</translate>''' (bool) <translate>''true'' if the user is allowed to authorize payment. ''false'' if they do not have permission.</translate><br/>

Revision as of 15:31, 13 July 2023


Available since: Gideros 2012.2.2
Class: StoreKit

Description


Returns whether the user is allowed to make payments.

<syntaxhighlight lang="lua"> (bool) = StoreKit:canMakePayments() </source>

Return values

Returns (bool) true if the user is allowed to authorize payment. false if they do not have permission.