---
name: "SmartDeviceModel.destroy"
mode: "api"
versionRequirements:
  - { name: "@ray-js/panel-sdk", version: "1.0.0" }
---

## SmartDeviceModel.destroy

> [VERSION] @ray-js/panel-sdk >= 1.0.0

> 💡 After destruction, the instance can no longer be used; all listeners registered via on* methods are removed.

### Description

Destroy the current smart device instance and all event listeners

### Parameters

None


### Return Value

None


### Examples

#### Example

```typescript
device.destroy();
```
