# offBeaconUpdate(function callback)

Cancels listening on a Beacon device update event

## Support

App capability | Android | iOS | PC | Harmony | Preview
---|---|---|---|---|---
Gadget | V4.6.0+ | V4.6.0+ | **X** | V7.35.0+ | Preview
Web app | V4.6.0+ | V4.6.0+ | **X** | V7.35.0+ | Preview

## Input

Name | Data type | Required | Default value | Description
---|---|---|---|---
callback | function | Yes | &nbsp; | Callback function of this event

## Output
None

##  Sample code

```js
const callback = (res) => {
	console.log(res);
};
tt.onBeaconUpdate(callback);
tt.offBeaconUpdate(callback);
```

