private static IGamedoniaDeviceInfo GetDeviceInfoImpl()
        {
            IGamedoniaDeviceInfo deviceInfoImpl = null;

            if (Application.isEditor)
            {
                deviceInfoImpl = new GamedoniaDefaultDeviceInfoImpl();
            }
            else
            {
                deviceInfoImpl = new GamedoniaDeviceInfoImpl();
            }

            return(deviceInfoImpl);
        }
Esempio n. 2
0
        public static double GetTimeZoneGMTOffset()
        {
            IGamedoniaDeviceInfo deviceInfoImpl = null;

            if (Application.isEditor)
            {
                deviceInfoImpl = new GamedoniaDefaultDeviceInfoImpl();
            }
            else
            {
                deviceInfoImpl = new GamedoniaDeviceInfoImpl();
            }

            return(deviceInfoImpl.GetTimeZoneGMTOffset());
        }
Esempio n. 3
0
        public static string GetCountryCode()
        {
            IGamedoniaDeviceInfo deviceInfoImpl = null;

            if (Application.isEditor)
            {
                deviceInfoImpl = new GamedoniaDefaultDeviceInfoImpl();
            }
            else
            {
                deviceInfoImpl = new GamedoniaDeviceInfoImpl();
            }

            return(deviceInfoImpl.GetCountryCode());
        }
 public bool IsJailBroken()
 {
     return(GamedoniaDeviceInfoImpl.isDeviceJailBroken());
 }
 public bool IsAdTrackingEnabled()
 {
     return(GamedoniaDeviceInfoImpl.isDeviceAdTrackingEnabled());
 }
 public string GetDeviceHardware()
 {
     return(GamedoniaDeviceInfoImpl.GetDeviceDeviceHardware());
 }
 public string GetDeviceModel()
 {
     return(GamedoniaDeviceInfoImpl.GetDeviceDeviceModel());
 }
 public string GetDeviceManufacturer()
 {
     return(GamedoniaDeviceInfoImpl.GetDeviceDeviceManufacturer());
 }
 public string GetIDFV()
 {
     return(GamedoniaDeviceInfoImpl.GetDeviceIDFV());
 }
 public string GetOSVersion()
 {
     return(GamedoniaDeviceInfoImpl.GetDeviceOSVersion());
 }
 public string GetBuildVersion()
 {
     return(GamedoniaDeviceInfoImpl.GetDeviceBuildVersion());
 }
 public string GetPlatform()
 {
     return(GamedoniaDeviceInfoImpl.GetDevicePlatform());
 }
 public double GetTimeZoneGMTOffset()
 {
     return(GamedoniaDeviceInfoImpl.GetDeviceTimeZoneGMTOffset());
 }
 public string GetCountryCode()
 {
     return(GamedoniaDeviceInfoImpl.GetDeviceCountryCode());
 }
 public string GetLanguageCode()
 {
     return(GamedoniaDeviceInfoImpl.GetDeviceLanguageCode());
 }
Esempio n. 16
0
        private static IGamedoniaDeviceInfo GetDeviceInfoImpl()
        {
            IGamedoniaDeviceInfo deviceInfoImpl = null;
                        if (Application.isEditor) {
                                deviceInfoImpl = new GamedoniaDefaultDeviceInfoImpl ();
                        } else {
                                deviceInfoImpl = new GamedoniaDeviceInfoImpl ();
                        }

                        return deviceInfoImpl;
        }