예제 #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);
 }