Applicasa.Core.GetServerTime C# (CSharp) Method

GetServerTime() public static method

public static GetServerTime ( ) : long
return long
        public static long GetServerTime()
        {
            #if UNITY_ANDROID &&!UNITY_EDITOR
            using(AndroidJavaClass javaUnityApplicasaCore = new AndroidJavaClass("com.applicasaunity.Unity.ApplicasaCore"))
            return javaUnityApplicasaCore.CallStatic<long>("ApplicasaGetServerTime");
            #elif UNITY_IPHONE && !UNITY_EDITOR
            return ApplicasaGetServerTime();
            #else
            return -1;
            #endif
        }