コード例 #1
0
        /// <summary>
        /// Sets the time the app may be in the background before starting a new session upon resume.
        /// Default value 10 seconds.
        ///
        /// Should be called before StartSession.
        /// </summary>
        public void SetSessionContinueSeconds(int seconds)
        {
#if UNITY_IOS
            FlurryAnalyticsIOS.SetSessionContinueSeconds(seconds);
#elif UNITY_ANDROID
            FlurryAnalyticsAndroid.SetContinueSessionMillis(seconds * 1000);
#endif
        }
コード例 #2
0
 public void SetSessionContinueSeconds(int seconds)
 {
     FlurryAnalyticsAndroid.SetContinueSessionMillis((long)(seconds * 1000));
 }