Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.35 KB | None | 0 0
  1. public static string INT_KEY = "int_value";
  2. public static void SendAnalyticEvent(string eventName, int value)
  3.         {
  4.             if (!isInitialized)
  5.             {
  6.                 return;
  7.             }
  8.  
  9.             long valueToSend = System.Convert.ToInt64(value);
  10.  
  11.             FirebaseAnalytics.LogEvent(eventName, INT_KEY, valueToSend);
  12.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement