-api-id | -api-type | -api-device-family-note |
---|---|---|
E:Windows.Devices.PointOfService.ClaimedMagneticStripeReader.BankCardDataReceived |
winrt event |
xbox |
Occurs when a bank card is swiped.
An application can register for this event event handler to get the bank card data each time a bank card is swiped through the magnetic stripe reader.
The following example shows how to setup the magnetic stripe reader to receive data after a scanning event.
[!code-cppSetupMagStripeReader]
[!code-csharpSetupMagStripeReader]
[!code-cppMagStripeReaderDataReceived]
[!code-csharpMagStripeReaderDataReceived]
[!code-jsCreateMagStripeReaderJS]
[!code-jsMagStripeReaderDataReceivedJS]