platypush.message.event.scard

class platypush.message.event.scard.SmartCardDetectedEvent(atr, reader=None, *args, **kwargs)[source]

Event triggered when a smart card is detected

__init__(atr, reader=None, *args, **kwargs)[source]
Parameters:
  • atr (str) – Smart card ATR (Answer To Reset)
  • reader (str) – Name or address of the reader that fired the event
class platypush.message.event.scard.SmartCardRemovedEvent(atr=None, reader=None, *args, **kwargs)[source]

Event triggered when a smart card is removed

__init__(atr=None, reader=None, *args, **kwargs)[source]
Parameters:
  • atr (str) – Smart card ATR (Answer To Reset)
  • reader (str) – Name or address of the reader that fired the event