class platypush.message.event.qrcode.QrcodeEvent(target=None, origin=None, id=None, timestamp=None, logging_level=20, disable_web_clients_notification=False, **kwargs)[source]

Bases: Event

class platypush.message.event.qrcode.QrcodeScannedEvent(results: List[ResultModel], *args, **kwargs)[source]

Bases: Event

Event triggered when a QR-code or bar code is scanned.

__init__(results: List[ResultModel], *args, **kwargs)[source]

target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict] logging_level – Logging level that should be applied to these

events (default: INFO).