private void displayData(SmotionCall.Info info) { StringBuilder sb = new StringBuilder(); long timestamp = DateTimeHelperClass.CurrentUnixTimeMillis(); switch (info.CallPosition) { case SmotionCall.POSITION_LEFT: sb.Append("Left"); break; case SmotionCall.POSITION_RIGHT: sb.Append("Right"); break; default: break; } MotionTest.displayData(timestamp, sb.ToString()); }
public override void onChanged(SmotionCall.Info info) { // TODO Auto-generated method stub MotionTest.playSound(); outerInstance.displayData(info); }
internal MotionCall(Looper looper, Smotion motion) { mCall = new SmotionCall(looper, motion); }