> For AI agents: the complete documentation index is available at /apps-plugin/docs/llms.txt, the full documentation bundle is available at /apps-plugin/docs/llms-full.txt.

# stopCompass

停止监听罗盘。

## 扫码预览

![扫码预览 stopCompass](https://api.qrserver.com/v1/create-qr-code/?size=200x200\&data=doubao%3A%2F%2Fdoubao_apps%3Fapp_id%3Ddb_1McM5Ni%26path%3D%252Fpages%252Fapi%252Fdevice%252Fcompass%252Findex)

## 支持版本

前端库版本不低于 `0.0.25`。

## 支持平台

<table>
<thead>
<tr><th>平台</th><th>支持情况</th></tr>
</thead>
<tbody>
<tr><td>Android</td><td>支持</td></tr>
<tr><td>iOS</td><td>支持</td></tr>
<tr><td>PC</td><td>不支持</td></tr>
<tr><td>HarmonyOS</td><td>不支持</td></tr>
</tbody>
</table>

## 支持场景

<table>
<thead>
<tr><th>场景</th><th>支持情况</th></tr>
</thead>
<tbody>
<tr><td>页面</td><td>支持</td></tr>
<tr><td>卡片</td><td>不支持</td></tr>
</tbody>
</table>

## 接入准备

### 前置条件

- 无额外前置条件；通常在 `startCompass` 后调用

## 使用说明

- 未启动时调用也会直接成功，可用于安全清理监听状态

## 调用方式

### 异步 API

```typescript
stopCompass(params?: object): Promise<object>
```

## 入参

无。

## 调用示例

```typescript
import { stopCompass } from '@doubao-dev/framework/api';

await stopCompass();
```

## 成功返回

无返回字段。

### 返回示例

```json
{}
```
