com.datecs.printer

## Interface ProtocolAdapter.CardListener

- Enclosing class:
    ProtocolAdapter

      public static interface ProtocolAdapter.CardListener

  Interface definition for a callbacks to notify for card event.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onReadCard(boolean encrypted)` This method is invoke when magnetic card is read.

- - ### Method Detail

    - #### onReadCard

          void onReadCard(boolean encrypted)

      This method is invoke when magnetic card is read.
      Parameters:
        `encrypted` - specify if card data is receive encrypted on not.