UNPKG

@digitalpersona/devices

Version:
25 lines (14 loc) 699 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@digitalpersona/devices](./devices.md) &gt; [CardsReader](./devices.cardsreader.md) &gt; [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>`