public void onBluetoothStateChanged(DicePlusConnector.BluetoothState btstate)
 {
     if (btstate != DicePlusConnector.BluetoothState.READY)
     {
         //TODO remove jak sdk beda zminione
         DicePlusConnector.Instance.disconnectAll();
     }
     if (state != State.ROLLER)
     {
         if (btstate == DicePlusConnector.BluetoothState.READY)
         {
             DicePlusAnimator.Instance.runSearchingAnimation(true);
             setState(State.DISCONNECTED);
         }
         else
         {
             DicePlusAnimator.Instance.runBluetoothDisabled();
             setState(State.NO_BLUETOOTH);
         }
     }
 }
Beispiel #2
0
 public virtual void onBluetoothStateChanged(DicePlusConnector.BluetoothState state)
 {
 }
    public void onBluetoothStateChanged(DicePlusConnector.BluetoothState state)
    {
//		throw new System.NotImplementedException ();
    }