com.xd.tds.tapdb
v3.30.2-xd.1
Published
TapTap Develop Service
Readme
TapTap.TapDB
使用前提
使用 TapTap.TapDB 前提是必须依赖以下库:
命名空间
using TapTap.TapDB;接口描述
初始化
TapDB.Init(string clientId, string channel, string gameVersion, bool isCN);设置用户
TapDB.SetUser(string userId);
TapDB.SetUser(string userId,string openId,string loginType);设置姓名
TapDB.SetName(string name);设置玩家等级
TapDB.SetLevel(int level);设置服务器
TapDB.SetServer(string server);充值成功
TapDB.OnCharge(string orderId, string productId, long amount, string currencyType, string payment);自定义事件
TapDB.TrackEvent(string eventName,string jsonProperties);注册静态事件
TapDB.RegisterStaticProperties(string jsonProperties);取消静态事件
TapDB.UnregisterStaticProperty(string propertKey);清除静态事件
TapDB.ClearStaticProperties();注册动态事件
TapDB.RegisterDynamicProperties(IDynamicProperties properties);设备初始化
TapDB.DeviceInitialize(string properties);设备更新
TapDB.DeviceUpdate(string properties);用户初始化
TapDB.UserInitialize(string properties);用户更新
TapDB.UserUpdate(string properties);添加用户
TapDB.UserAdd(string properties);清除用户
TapDB.ClearUser();iOS 独占方法
开启 IDFA
TapDB.AdvertiserIDCollectionEnabled(bool enable);