setSwipeListener

Allows a client to set a swipe listener to be notified of swipe details in order to take action.

Parameters

listener

The set of functions to be invoked during a swipe's lifecycle.