Difference between revisions of "StoreKit:canMakePayments"
From GiderosMobile
| m (Text replacement - "<source" to "<syntaxhighlight") | m (Text replacement - "</source>" to "</syntaxhighlight>") | ||
| Line 9: | Line 9: | ||
| <syntaxhighlight lang="lua"> | <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.
