// Use this for initialization void Start() { internetPlugin = InternetPlugin.GetInstance(); internetPlugin.SetDebug(0); internetPlugin.setInternetCallbackListener(OnWifiConnect, OnWifiDisconnect, OnWifiSignalStrengthChange); internetPlugin.RegisterEvent(); }
// Use this for initialization void Start() { internetPlugin = InternetPlugin.GetInstance(); internetPlugin.SetDebug(0); internetPlugin.Init(); internetPlugin.setInternetCallbackListener(OnWifiConnect, OnWifiDisconnect, OnWifiSignalStrengthChange); UpdateStatus("Waiting..."); }
// Use this for initialization void Start() { dispatcher = Dispatcher.GetInstance(); internetPlugin = InternetPlugin.GetInstance(); internetPlugin.SetDebug(0); internetPlugin.Init(); internetPlugin.setInternetCallbackListener(OnWifiConnect, OnWifiDisconnect, OnWifiSignalStrengthChange); //internetPlugin.RegisterEvent(); GetWifiSpeed(); }
// Use this for initialization void Start() { //Debug.Log(batteryLevel); //Debug.Log(batteryStatus); batteryLevel = SystemInfo.batteryLevel; dispatcher = Dispatcher.GetInstance(); internetPlugin = InternetPlugin.GetInstance(); internetPlugin.SetDebug(0); internetPlugin.Init(); internetPlugin.setInternetCallbackListener(OnWifiConnect, OnWifiDisconnect, OnWifiSignalStrengthChange); Debug.Log(NetworkReachability.NotReachable); }
// Use this for initialization void Start() { internetPlugin = InternetPlugin.GetInstance(); internetPlugin.SetDebug(0); internetPlugin.setInternetCallbackListener(OnWifiConnect,OnWifiDisconnect,OnWifiSignalStrengthChange); internetPlugin.RegisterEvent(); }