Interface class for Grabba magstripe reader events.
Objects which implement this interface may receive callbacks when these events occur, via delegation from a MagstripeListener object.
Note that this interface need not be directly implemented; it may be simpler to subclass MagstripeListener and thereby receive the events directly.
Thread safety: This interface is intended to be thread-safe; any classes deriving from it should ensure that the relevant methods are callable from any thread.
Public Member Functions | |
void | dataEvent (@NonNull MagstripeData data) |
Callback which is invoked when one or more tracks are successfully read from a magstripe card. More... | |
void dataEvent | ( | @NonNull MagstripeData | data | ) |
Callback which is invoked when one or more tracks are successfully read from a magstripe card.
data | Contains the data which was read from the magnetic stripe; see MagstripeData for details |
Implemented in MagstripeListener.