> For the complete documentation index, see [llms.txt](https://developer.eagle.cool/plugin-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.eagle.cool/plugin-api/ja-jp/api/notification.md).

# notification（通知）

## メソッド <a href="#z1a5y" id="z1a5y"></a>

## show(options) <a href="#tkp0d" id="tkp0d"></a>

通知ウィンドウを表示する

* `options` Object
  * `title` string - 通知ウィンドウのタイトル
  * `body` string - 通知ウィンドウの説明
  * `icon` URL/base64 - 通知ウィンドウのアイコン。リンクまたはbase64形式がサポートされています（オプション）
  * `mute` boolean - 効果音（オプション）
  * `duration` Interger - 自動的に非表示になる時間（ミリ秒）（オプション）
* 戻り値 `Promise<>`

```javascript
await eagle.notification.show({
    title: "Basic Notification",
    body: "Notification from the Plugin process",
    mute: false,
    duration: 3000,
    icon: "https://"
});
```

***
