Difference between revisions of "StoreKit:canMakePayments"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2012.2.2<br/>
+
<languages />
=== Description ===
+
'''<translate>Available since</translate>:''' Gideros 2012.2.2<br/>
 +
'''<translate>Class</translate>:''' [[Special:MyLanguage/StoreKit|StoreKit]]<br/>
 +
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
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>
+
</syntaxhighlight>
=== Return values ===
+
=== <translate>Return values</translate> ===
'''Returns''' (bool) <translate>[[Special:MyLanguage/true|true]] if the user is allowed to authorize payment. [[Special:MyLanguage/false|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/>

Latest revision as of 14:33, 13 July 2023


Available since: Gideros 2012.2.2
Class: StoreKit

Description


Returns whether the user is allowed to make payments.

(bool) = StoreKit:canMakePayments()

Return values

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