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

## SmartDeviceModel.offInitialized

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

### Description

Cancel the smart device model initialization-completed event listener

### Parameters

`Params`

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `number` | Yes | Listener ID returned by onInitialized |

### Return Value

None


### Examples

#### Example

```typescript
const id = device.onInitialized(() => { console.log('Initialized'); });
// Unsubscribe when needed
device.offInitialized(id);
```
