setListener

Sets or removes the listener for card events.

Parameters

listener

The listener to be notified of card events, or null to remove the current listener.