/// <summary> /// Execute specific event depending of the gesture that user made /// </summary> /// <param name="keyboardListener">Keyboard's listener to perform the events</param> public override void ExecuteGesture(KeyboardListener keyboardListener) { //Register time the gesture was detected _lastGestureDetectedInMillis = Helpers.CurrentTimeMillis(); //Fire the event if (_currentGestureDirection == Side.Right) { keyboardListener.DoNextTrack(); } else if (_currentGestureDirection == Side.Left) { keyboardListener.DoPreviousTrack(); } }