Пример #1
0
        public static void RegisterIntegrationListenerInternalIOS(IntegrationListener integrationListener)
        {
            if (Application.platform == RuntimePlatform.IPhonePlayer)
            {
                privateIntegrationListener = integrationListener;

                SmartlookSetDashboardSessionUrlListener(delegateSessionUrlChanged);
                SmartlookSetDashboardVisitorUrlListener(delegateVisitorUrlChanged);
            }
        }
Пример #2
0
        private static void RegisterIntegrationListenerInternal(IntegrationListener integrationListener)
        {
#if UNITY_ANDROID
            if (Application.platform == RuntimePlatform.Android)
            {
                getSLClass().CallStatic("registerIntegrationListener", integrationListener);
            }
#endif

#if UNITY_IOS
            if (Application.platform == RuntimePlatform.IPhonePlayer)
            {
                RegisterIntegrationListenerInternalIOS(integrationListener);
            }
#endif
        }
Пример #3
0
 public static void RegisterIntegrationListener(IntegrationListener integrationListener)
 {
     RegisterIntegrationListenerInternal(integrationListener);
 }