Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public interface SwipeDeck.SwipeListener

Told when a card leaves the deck.

Methods

public abstract void cardSwiped(Component card, int direction)A card was swiped away.

Method details

cardSwiped

public abstract void cardSwiped(Component card, int direction)
A card was swiped away.

Parameters

card Component
the card that left
direction int
#LEFT, #RIGHT or #UP