Esempio n. 1
0
		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());
		}
Esempio n. 2
0
			public override void onChanged(SmotionCall.Info info)
			{
				// TODO Auto-generated method stub
				MotionTest.playSound();
				outerInstance.displayData(info);
			}
Esempio n. 3
0
		internal MotionCall(Looper looper, Smotion motion)
		{
			mCall = new SmotionCall(looper, motion);
		}
Esempio n. 4
0
 internal MotionCall(Looper looper, Smotion motion)
 {
     mCall = new SmotionCall(looper, motion);
 }