public void setMotionRotationListener(object callingClass)
 {
     listener = (IMotionRotationListener)callingClass;
 }
        public void setMotionRotationListener(object callingClass)
        {
            listener = (IMotionRotationListener)callingClass;

        }