public Parameter(string parameterName, double parameterValue) : this(FirebaseAnalyticsPINVOKE.new_Parameter__SWIG_2(parameterName, parameterValue), true)
 {
     if (AppUtilPINVOKE.SWIGPendingException.Pending)
     {
         throw AppUtilPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public static void LogEvent(string name)
 {
     FirebaseAnalyticsPINVOKE.LogEvent__SWIG_4(name);
     if (AppUtilPINVOKE.SWIGPendingException.Pending)
     {
         throw AppUtilPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
 public static void SetUserProperty(string name, string property)
 {
     FirebaseAnalyticsPINVOKE.SetUserProperty(name, property);
     if (AppUtilPINVOKE.SWIGPendingException.Pending)
     {
         throw AppUtilPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
 public static void SetAnalyticsCollectionEnabled(bool enabled)
 {
     FirebaseAnalyticsPINVOKE.SetAnalyticsCollectionEnabled(enabled);
     if (AppUtilPINVOKE.SWIGPendingException.Pending)
     {
         throw AppUtilPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 5
0
 public static void LogEvent(string name, string parameterName, int parameterValue)
 {
     FirebaseAnalyticsPINVOKE.LogEvent__SWIG_3(name, parameterName, parameterValue);
     if (AppUtilPINVOKE.SWIGPendingException.Pending)
     {
         throw AppUtilPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 6
0
 public static void ResetAnalyticsData()
 {
     FirebaseAnalyticsPINVOKE.ResetAnalyticsData();
     if (AppUtilPINVOKE.SWIGPendingException.Pending)
     {
         throw AppUtilPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 7
0
 /// <summary>
 /// 设置当前屏幕
 /// </summary>
 /// <param name="screenName"></param>
 /// <param name="screenClass"></param>
 public static void SetCurrentScreen(string screenName, string screenClass)
 {
     FirebaseAnalyticsPINVOKE.SetCurrentScreen(screenName, screenClass);
     if (AppUtilPINVOKE.SWIGPendingException.Pending)
     {
         throw AppUtilPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 8
0
 internal static void SetSessionTimeoutDurationInternal(long milliseconds)
 {
     FirebaseAnalyticsPINVOKE.SetSessionTimeoutDurationInternal(milliseconds);
     if (AppUtilPINVOKE.SWIGPendingException.Pending)
     {
         throw AppUtilPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 9
0
 public static void SetUserId(string userId)
 {
     FirebaseAnalyticsPINVOKE.SetUserId(userId);
     if (AppUtilPINVOKE.SWIGPendingException.Pending)
     {
         throw AppUtilPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 10
0
 public void Dispose()
 {
     lock (this) {
         if (this.swigCPtr.Handle != IntPtr.Zero)
         {
             if (this.swigCMemOwn)
             {
                 this.swigCMemOwn = false;
                 FirebaseAnalyticsPINVOKE.delete_Parameter(this.swigCPtr);
             }
             this.swigCPtr = new HandleRef(null, IntPtr.Zero);
         }
         GC.SuppressFinalize(this);
     }
 }
Exemplo n.º 11
0
 public static Task <string> GetAnalyticsInstanceIdAsync()
 {
     return(FutureString.GetTask(new FutureString(FirebaseAnalyticsPINVOKE.GetAnalyticsInstanceId(), true)));
 }