/** * Returns true if the treadmill is running, and false if the treadmill is * stopped. */ public static bool GetTreadmillRunState() { InfinadeckInitError e = InfinadeckInitError.InfinadeckInitError_None; if (!CheckConnection()) { InitConnection(ref e); } return(InfinadeckInterOp.GetTreadmillRunState(true)); }