Difference between revisions of "StoreKit:canMakePayments"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | <languages /> | ||
'''<translate>Available since</translate>:''' Gideros 2012.2.2<br/> | '''<translate>Available since</translate>:''' Gideros 2012.2.2<br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/StoreKit|StoreKit]]<br/> | '''<translate>Class</translate>:''' [[Special:MyLanguage/StoreKit|StoreKit]]<br/> | ||
Line 6: | 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> | ||
− | < | + | <syntaxhighlight lang="lua"> |
(bool) = StoreKit:canMakePayments() | (bool) = StoreKit:canMakePayments() | ||
− | </ | + | </syntaxhighlight> |
=== <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/> |
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.