public static void RegisterIntegrationListenerInternalIOS(IntegrationListener integrationListener) { if (Application.platform == RuntimePlatform.IPhonePlayer) { privateIntegrationListener = integrationListener; SmartlookSetDashboardSessionUrlListener(delegateSessionUrlChanged); SmartlookSetDashboardVisitorUrlListener(delegateVisitorUrlChanged); } }
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 }
public static void RegisterIntegrationListener(IntegrationListener integrationListener) { RegisterIntegrationListenerInternal(integrationListener); }