AdsResultCode
Enum
Module: anysdk
The callback of ads system
Index
kAdsReceived
kAdsShown
kAdsDismissed
kPointsSpendSucceed
kPointsSpendFailed
kNetworkError
kUnknownError
kOfferWallOnPointsChanged
kRewardedVideoWithReward
kInAppPurchaseFinished
kAdsClicked
kAdsExtension
Details
kAdsReceived
The callback : the ad is received
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:2474 |
kAdsShown
The callback: the advertisement dismissed.
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:2481 |
kAdsDismissed
The callback: the advertisement dismissed.
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:2488 |
kPointsSpendSucceed
The callback: the points spend succeed.
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:2495 |
kPointsSpendFailed
The callback: the points spend failed.
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:2502 |
kNetworkError
The callback of network error
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:2509 |
kUnknownError
The callback of Unknown error.
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:2516 |
kOfferWallOnPointsChanged
The callback of Changing the point of offerwall.
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:2523 |
kRewardedVideoWithReward
The callback of receive the reward of rewardedvideo
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:2530 |
kInAppPurchaseFinished
The callback of finishing IAP ad
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:2537 |
kAdsClicked
The callback of the advertisement clicked
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:2544 |
kAdsExtension
The extension code
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:2551 |