Esempio n. 1
0
 public SensorsAnalyticsWrapper(string serverUrl, bool enableLog, int autoTrackType, int networkType)
 {
     this.serverUrl     = serverUrl;
     this.enableLog     = enableLog;
     this.autoTrackType = 0;
     this.networkType   = networkType;
     SALog.IsLogEnalbe(enableLog);
     SALog.Debug("Unity Config=======init serverUrl:" + serverUrl + ", enableLog:" + enableLog
                 + ", networkType:" + networkType);
     _init();
 }
Esempio n. 2
0
 void Awake()
 {
     SALog.Debug("sensorsdataapi awake.");
     if (saInstance == null)
     {
         DontDestroyOnLoad(gameObject);
         saInstance = this;
     }
     else
     {
         Destroy(gameObject);
         return;
     }
     analyticsWrapper = new SensorsAnalyticsWrapper(serverUrl, isEnableLog, autoTrackType, networkType);
 }
Esempio n. 3
0
 private void _flush()
 {
     SALog.Debug("Editor Log: calling flush.");
 }
Esempio n. 4
0
 private void _init()
 {
     SALog.Debug("Editor Log: calling init.");
 }
Esempio n. 5
0
 private void _clearTrackTimer()
 {
     SALog.Debug("Editor Log: calling clearTrackTimer.");
 }
Esempio n. 6
0
 private void _trackTimerEnd(string eventName, Dictionary <string, object> properties)
 {
     SALog.Debug("Editor Log: calling trackTimerEnd: eventName=" + eventName + ", properties=" + SAUtils.ToDebugString(properties));
 }
Esempio n. 7
0
 private void _profileSetOnce(Dictionary <string, object> properties)
 {
     SALog.Debug("Editor Log: calling profileSetOnce: properties=" + SAUtils.ToDebugString(properties));
 }
Esempio n. 8
0
 private void _login(string loginId)
 {
     SALog.Debug("Editor Log: calling login: loginId=" + loginId + ".");
 }
Esempio n. 9
0
 private void _setAndroidMaxCacheSize(long maxCacheSize)
 {
     SALog.Debug("Editor Log: calling SetAndroidMaxCacheSize: maxCacheSize=" + maxCacheSize);
 }
Esempio n. 10
0
 private void _removeTimer(string eventName)
 {
     SALog.Debug("Editor Log: calling RemoveTimer: eventName=" + eventName);
 }
Esempio n. 11
0
 //二期内容
 private void _trackInstallation(Dictionary <string, object> properties = null, bool disableCallback = false)
 {
     SALog.Debug("Editor Log: calling TrackInstallation: properties=" + SAUtils.ToDebugString(properties) + ", " + disableCallback);
 }
Esempio n. 12
0
 private void _handleSchemeUrl(string url)
 {
     SALog.Debug("editor handle scheme: " + url);
 }
Esempio n. 13
0
 private void _clearSuperProperties()
 {
     SALog.Debug("Editor Log: calling clearSuperProperties.");
 }
Esempio n. 14
0
 private Dictionary <string, object> _getSuperProperties()
 {
     SALog.Debug("Editor Log: calling getSuperProperties.");
     return(new Dictionary <string, object>());
 }
Esempio n. 15
0
 private void _unregisterSuperProperty(string superPropertyName)
 {
     SALog.Debug("Editor Log: calling unregisterSuperProperty: superPropertyName=" + superPropertyName);
 }
Esempio n. 16
0
 private void _identify(string distinctId)
 {
     SALog.Debug("Editor Log: calling identity: distinctId=" + distinctId + ".");
 }
Esempio n. 17
0
 private void _resetAnonymousId()
 {
     SALog.Debug("Editor Log: calling resetAnonymousId.");
 }
Esempio n. 18
0
 private void _setiOSMaxCacheSize(long maxCount)
 {
     SALog.Debug("Editor Log: calling SetiOSMaxCacheSize: maxCacheSize=" + maxCount);
 }
Esempio n. 19
0
 private void _logout()
 {
     SALog.Debug("Editor Log: calling logout.");
 }
Esempio n. 20
0
 private void _deleteAll()
 {
     SALog.Debug("Editor Log: calling DeleteAll");
 }
Esempio n. 21
0
 private string _trackTimerStart(string eventName)
 {
     SALog.Debug("Editor Log: calling trackTimerStart: eventName=" + eventName);
     return("");
 }
Esempio n. 22
0
 private void _setFlushBulkSize(int flushBulkSize)
 {
     SALog.Debug("Editor Log: calling SetFlushBulkSize: flushBulkSize=" + flushBulkSize);
 }
Esempio n. 23
0
 private void _trackTimerResume(string eventName)
 {
     SALog.Debug("Editor Log: calling trackTimerResume: eventName=" + eventName);
 }
Esempio n. 24
0
 private void _setFlushInterval(int flushInteval)
 {
     SALog.Debug("Editor Log: calling SetFlushInterval: flushInteval=" + flushInteval);
 }
Esempio n. 25
0
 private void _registerSuperProperties(Dictionary <string, object> properties)
 {
     SALog.Debug("Editor Log: calling registerSuperProperties: properties=" + SAUtils.ToDebugString(properties));
 }
Esempio n. 26
0
 private void _setFlushNetworkPolicy(int types)
 {
     SALog.Debug("Editor Log: calling SetFlushNetworkPolicy: types=" + types);
 }