---
name: "offGroupInfoChange"
mode: "kit"
versionRequirements:
  - { name: "DeviceKit", version: "2.4.0" }
platform:
  - "iOS"
  - "Android"
async: true
---

## offGroupInfoChange

> [VERSION] DeviceKit >= 2.4.0

> [PLATFORM] iOS, Android

> ⚡ **Supports Promise** — Returns a Promise when success / fail / complete callbacks are omitted.

### Description

Group device add/remove event

### Parameters

`(listener: Function)`

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `listener` | `(params: GroupInfoResponse) => void` | Yes | - | Event listener callback function |

### Referenced Types

##### `interface` GroupInfoResponse

| Property | Type | Since | Description |
| --- | --- | --- | --- |
| `groupId` | `string` | `2.4.0` | groupId Group ID |


### Examples

#### Demo

```tsx
const listener = function (res) { console.log(res) }
ty.device.onGroupInfoChange(listener)
ty.device.offGroupInfoChange(listener)
```
