public void UpdateState(CloseGestureState state, ulong id, long timestamp) { if (state != gesturestate) { gesturestate = state; trackid = id; this.timestamp = timestamp; } }
public CloseEventArs(CloseGestureState state, long time) { gesturestate = state; timeleft = time; }
public void Reset() { gesturestate = CloseGestureState.NONE; timestamp = 0; }