cocos2d-JS 模块 anysdk 概述
【摘要】
模块 anysdk
1.概述:
AnySDK 为 CP 提供一套第三方 SDK 接入解决方案,整个接入过程,不改变任何 SDK 的功能、特性、参数等, 对于最终玩家而言是完全透明无感知的。 目的是让 CP 商能有更多时间更专注于游戏本身的品质,所有 SDK 的接
入工作统统交给我们吧。第三方 SDK 包括了渠道S...
模块 anysdk
1.概述:
AnySDK 为 CP 提供一套第三方 SDK 接入解决方案,整个接入过程,不改变任何 SDK 的功能、特性、参数等,
2.API列表:
参考:http://www.cocos.com/docs/creator/api/modules/anysdk.html
- anysdk.AgentManager
- 类型:插件管理类
- anysdk.PluginParam
- 类型:数据结构类
- anysdk.PluginProtocol
- 类型:插件协议
- anysdk.ProtocolAdTracking
- 类型:广告追踪系统协议接口
- anysdk.ProtocolAds
- 类型:广告系统协议接口
- anysdk.ProtocolAnalytics
- 类型:统计系统协议接口
- anysdk.ProtocolCrash
- 类型:崩溃分析系统协议接口
- anysdk.ProtocolCustom
- 类型:自定义系统协议接口
- anysdk.ProtocolIAP
- 类型:支付系统协议接口
- anysdk.ProtocolPush
- 类型:推送系统协议接口
- anysdk.ProtocolREC
- 类型:录屏系统协议接口
- anysdk.ProtocolShare
- 类型:分享系统协议接口
- anysdk.ProtocolSocial
- 类型:社交系统协议接口
- anysdk.ProtocolUser
- 类型:用户系统协议接口
3.API当中的枚举
枚举:
UserActionResultCode 用户系统回调
ToolBarPlace 用户系统悬浮窗位置
PayResultCode 支付系统支付请求回调
AccountType 统计系统的账号类型
AccountOperate 统计系统的账号操作
AccountGender 统计系统的账号性别
TaskType 分享系统回调
ShareResultCode 分享系统回调
SocialRetCode 社交系统回调
AdsResultCode 广告系统回调
AdsPos 广告位置
AdsType 广告类型
PushActionResultCode 推送系统回调
CustomResultCode 自定义系统回调
RECResultCode 录屏系统回调
文章来源: yujiang.blog.csdn.net,作者:鱼酱2333,版权归原作者所有,如需转载,请联系作者。
原文链接:yujiang.blog.csdn.net/article/details/53128167
【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
cloudbbs@huaweicloud.com
- 点赞
- 收藏
- 关注作者
作者其他文章
评论(0)