public static void SetLatency(int value) { #if UNITY_EDITO Debug.Log("SetLatency"); #elif UNITY_IPHONE _SetLatency(value); #elif UNITY_ANDROID AnalyticsConfig.CallStatic("setLatencyWindow", (long)value); #endif }
//设置是否对日志信息进行加密, 默认false(不加密). //value 设置为true, SDK会将日志信息做加密处理 public static void SetLogEncryptEnabled(bool value) { #if UNITY_EDITO Debug.Log("SetLogEncryptEnabled"); #elif UNITY_IPHONE _SetEncryptEnabled(value); #elif UNITY_ANDROID AnalyticsConfig.CallStatic("enableEncrypt", value); #endif }