if Ads plugin exist, return value Ads User plugin, else return value is null pointer.
return value is channel ID.
plugin id
if Custom plugin exist, return value is Custom plugin, else return value is null pointer.
custom plugins
plugin id
if Fee plugin exist, return value is Fee plugin, else return value is null pointer.
fee plugins
return value is the version of Cocos SDKHub.
plugin object
plugin support methods
if Push plugin exist, return value is Push plugin, else return value is null pointer.
plugin support ids
plugin id
if User plugin exist, return value is User plugin, else return value is null pointer.
user plugins
Generated using TypeDoc
Get Ads Plugin
获取广告插件对象类。广告和推送类型只支持单个插件
var ads = sdkhub.getAdsPlugin();