示例#1
0
 // Use this for initialization
 void Start()
 {
     internetPlugin = InternetPlugin.GetInstance();
     internetPlugin.SetDebug(0);
     internetPlugin.setInternetCallbackListener(OnWifiConnect, OnWifiDisconnect, OnWifiSignalStrengthChange);
     internetPlugin.RegisterEvent();
 }
示例#2
0
 // Use this for initialization
 void Start()
 {
     internetPlugin = InternetPlugin.GetInstance();
     internetPlugin.SetDebug(0);
     internetPlugin.Init();
     internetPlugin.setInternetCallbackListener(OnWifiConnect, OnWifiDisconnect, OnWifiSignalStrengthChange);
     UpdateStatus("Waiting...");
 }
示例#3
0
    // 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();
    }
示例#4
0
    // 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);
    }
示例#5
0
 // Use this for initialization
 void Start()
 {
     internetPlugin = InternetPlugin.GetInstance();
     internetPlugin.SetDebug(0);
     internetPlugin.setInternetCallbackListener(OnWifiConnect,OnWifiDisconnect,OnWifiSignalStrengthChange);
     internetPlugin.RegisterEvent();
 }