21 lines
712 B
C#
21 lines
712 B
C#
|
|
namespace Guru
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// 自打点代理接口
|
||
|
|
/// </summary>
|
||
|
|
public interface IAnalyticsAgent
|
||
|
|
{
|
||
|
|
void Init(string appId, string deviceInfo, bool isDebug = false);
|
||
|
|
void SetScreen(string screenName);
|
||
|
|
void SetAdId(string id);
|
||
|
|
void SetUserProperty(string key, string value);
|
||
|
|
void SetFirebaseId(string id);
|
||
|
|
void SetAdjustId(string id);
|
||
|
|
void SetDeviceId(string deviceId);
|
||
|
|
void SetUid(string uid);
|
||
|
|
bool IsDebug { get; }
|
||
|
|
void LogEvent(string eventName, string parameters);
|
||
|
|
void ReportEventSuccessRate(); // 上报任务成功率
|
||
|
|
void SetTch02Value(double value); // 设置太极02数值
|
||
|
|
}
|
||
|
|
}
|