Beispiel #1
0
 /// <summary>
 /// This method initializes Flurry Analytics.
 /// On Android 4.0 and above, this will automatically register to track sessions.
 /// </summary>
 /// <param name="context">
 /// A reference to a <see cref="Android.Content.Context"/> object such as an <see cref="Android.App.Activity"/>
 /// or an <see cref="Android.App.Activity"/>.
 /// </param>
 public static void Init(Context context)
 {
     NativeFlurry.Init(context, ApiKey);
 }
Beispiel #2
0
        /// <summary>
        /// This method initializes Flurry Analytics.
        /// On Android 4.0 and above, this will automatically register to track sessions.
        /// </summary>
        /// <param name="context">
        /// A reference to a <see cref="Android.Content.Context"/> object such as an <see cref="Android.App.Activity"/>
        /// or an <see cref="Android.App.Activity"/>.
        /// </param>
        /// <param name="apiKey">
        /// The Flurry Analytics application API key to use. This parameter will update the <see cref="ApiKey"/>
        /// property.
        /// </param>
        public static void Init(Context context, string apiKey)
        {
            ApiKey = apiKey;

            NativeFlurry.Init(context, ApiKey);
        }