ProtocolAds Class
Extends PluginProtocol
Module: anysdk
ads protocol
Index
Methods
- hideAdshide ads view
- preloadAdspreload ads view
- queryPointsquery points
- isAdTypeSupportedget whether the ads type is supported
- spendPointsspend point
- setListenerset listener
- getListenerget listener
- isFunctionSupportedCheck whether the function is supported
- getPluginNameget plugin name
- getPluginVersionget plugin version
- getSDKVersionget SDK version
- callFuncWithParamvoid methods for reflections with parameter
- callStringFuncWithParamString methods for reflections with parameter
- callIntFuncWithParamint methods for reflections with parameter
- callBoolFuncWithParamboolean methods for reflections with parameter
- callFloatFuncWithParamfloat methods for reflections with parameter
Details
Methods
hideAds
hide ads view
| meta | description | 
|---|---|
| Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:1105 | 
Parameters
- adstypeanysdk.AdsType
- idxNumber
preloadAds
preload ads view
| meta | description | 
|---|---|
| Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:1117 | 
Parameters
- adstypeanysdk.AdsType
- idxNumber
queryPoints
query points
| meta | description | 
|---|---|
| Returns | Number | 
| Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:1129 | 
isAdTypeSupported
get whether the ads type is supported
| meta | description | 
|---|---|
| Returns | boolean | 
| Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:1141 | 
Parameters
- arg0anysdk.AdsType
spendPoints
spend point
| meta | description | 
|---|---|
| Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:1154 | 
Parameters
- pointsNumber
setListener
set listener
| meta | description | 
|---|---|
| Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:1165 | 
Parameters
getListener
get listener
| meta | description | 
|---|---|
| Returns | Function | 
| Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:1177 | 
isFunctionSupported
Check whether the function is supported
| meta | description | 
|---|---|
| Returns | boolean | 
| Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:327 | 
Parameters
- functionNameString
getPluginName
get plugin name
| meta | description | 
|---|---|
| Returns | String | 
| Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:341 | 
getPluginVersion
get plugin version
| meta | description | 
|---|---|
| Returns | String | 
| Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:353 | 
getSDKVersion
get SDK version
| meta | description | 
|---|---|
| Returns | String | 
| Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:365 | 
callFuncWithParam
void methods for reflections with parameter
| meta | description | 
|---|---|
| Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:377 | 
Parameters
callStringFuncWithParam
String methods for reflections with parameter
| meta | description | 
|---|---|
| Returns | String | 
| Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:390 | 
Parameters
callIntFuncWithParam
int methods for reflections with parameter
| meta | description | 
|---|---|
| Returns | Number | 
| Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:405 | 
Parameters
callBoolFuncWithParam
boolean methods for reflections with parameter
| meta | description | 
|---|---|
| Returns | boolean | 
| Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:420 | 
Parameters
callFloatFuncWithParam
float methods for reflections with parameter
| meta | description | 
|---|---|
| Returns | Number | 
| Defined in | https:/github.com/cocos-creator/engine/blob/master/extensions/anysdk/jsb_anysdk.js:435 | 
