|
Moai SDK
1.5 revision 1 (MoaiEdition)
|
Inherits MOAIGlobalClass< TYPE, SUPER >.
Function List | |
| getUserId | |
| initVideoAds | |
| init | |
| setUserId | |
| showOffers | |
Gets the tapjoy user ID.
function getUserId ()
Initializes Tapjoy.
function init ( string appId, string secretKey )
| appId | ( string ) Available in Tapjoy dashboard settings. |
| secretKey | ( string ) Available in Tapjoy dashboard settings. |
Initializes Tapjoy to display video ads.
function initVideoAds ( [ number count ] )
| count | ( number ) Optional. The optional number of ads to cache. Default is Tapjoy dependent. |
Sets the tapjoy user ID.
function setUserId ( string userId )
| userId | ( string ) |
Displays the Tapjoy marketplace.
function showOffers ()