notification(通知)
画面の隅でポップアップウィンドウが表示され、ユーザー操作の状態が示されます。
メソッド
show(options)
通知ウィンドウを表示する
optionsObjecttitlestring - 通知ウィンドウのタイトルbodystring - 通知ウィンドウの説明iconURL/base64 - 通知ウィンドウのアイコン。リンクまたはbase64形式がサポートされています(オプション)muteboolean - 効果音(オプション)durationInterger - 自動的に非表示になる時間(ミリ秒)(オプション)
戻り値
Promise<>
await eagle.notification.show({
title: "Basic Notification",
body: "Notification from the Plugin process",
mute: false,
duration: 3000,
icon: "https://"
});最終更新