23 lines
954 B
C#
23 lines
954 B
C#
|
|
using System.Collections.Generic;
|
||
|
|
using JetBrains.Annotations;
|
||
|
|
|
||
|
|
namespace HC
|
||
|
|
{
|
||
|
|
public interface HCIBaseAnalytics
|
||
|
|
{
|
||
|
|
void InitializeSdk();
|
||
|
|
TrackEventPlatform GetTrackEventPlatform();
|
||
|
|
bool ContainsRemoteConfigKey(string key);
|
||
|
|
string GetRemoteConfigStr(string key, string defaultValue);
|
||
|
|
int GetRemoteConfigInt(string key, int defaultValue);
|
||
|
|
bool GetRemoteConfigBool(string key, bool defaultValue);
|
||
|
|
void SetUserId(string userId);
|
||
|
|
void TrackEvent(string eventName, [CanBeNull] Dictionary<string, object> eventDic = null);
|
||
|
|
void TrackAdRevenue(string eventName, Dictionary<string, object> dictionary);
|
||
|
|
void SetSuperProperties(Dictionary<string, object> mPoperties);
|
||
|
|
void UserSet(Dictionary<string, object> mPoperties);
|
||
|
|
void Login(string userId);
|
||
|
|
void UserSetOnce(Dictionary<string, object> properties);
|
||
|
|
void SetLogEnable(bool enable);
|
||
|
|
}
|
||
|
|
}
|