@digitalpersona/devices
Version:
DigitalPersona Security Devices support library
22 lines (13 loc) • 584 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@digitalpersona/devices](./devices.md) > [DeviceEvent](./devices.deviceevent.md) > [(constructor)](./devices.deviceevent.(constructor).md)
## DeviceEvent.(constructor)
Constructs a new event.
<b>Signature:</b>
```typescript
constructor(type: string, deviceId: string);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| type | <code>string</code> | an event type |
| deviceId | <code>string</code> | a device ID. |