@digitalpersona/devices
Version:
DigitalPersona Security Devices support library
25 lines (14 loc) • 699 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@digitalpersona/devices](./devices.md) > [CardsReader](./devices.cardsreader.md) > [unsubscribe](./devices.cardsreader.unsubscribe.md)
## CardsReader.unsubscribe() method
Stop listening for card reader events.
<b>Signature:</b>
```typescript
unsubscribe(reader?: string): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| reader | <code>string</code> | an optional name of a card reader to stop listening. If no name is provided, the API will stop listening all card readers. |
<b>Returns:</b>
`Promise<void>`