import{_ as o}from"./plugin-vue_export-helper-c27b6911.js";import{r as c,o as r,c as l,a as e,b as t,d as n,w as s,e as i}from"./app-e3a35803.js";const p={},d=i(`<p>Notification vibration effect.</p><div class="language-javascript line-numbers-mode" data-ext="js"><pre class="language-javascript"><code>HapticsPlugin<span class="token punctuation">.</span><span class="token function">notification</span><span class="token punctuation">(</span>options<span class="token punctuation">)</span>
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><h2 id="parameters" tabindex="-1"><a class="header-anchor" href="#parameters" aria-hidden="true">#</a> Parameters</h2>`,3),u=i(`<h2 id="returns" tabindex="-1"><a class="header-anchor" href="#returns" aria-hidden="true">#</a> Returns</h2><p>A promise.</p><h2 id="example" tabindex="-1"><a class="header-anchor" href="#example" aria-hidden="true">#</a> Example</h2><div class="language-javascript line-numbers-mode" data-ext="js"><pre class="language-javascript"><code><span class="token keyword">import</span> <span class="token punctuation">{</span> hapticsPlugin <span class="token punctuation">}</span> <span class="token keyword">from</span> <span class="token string">&quot;@plaoc/plugins&quot;</span><span class="token punctuation">;</span>

hapticsPlugin<span class="token punctuation">.</span><span class="token function">notification</span><span class="token punctuation">(</span><span class="token punctuation">{</span>
  <span class="token literal-property property">type</span><span class="token operator">:</span> <span class="token string">&quot;SUCCESS&quot;</span> 
<span class="token punctuation">}</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h2 id="platform-compatibility" tabindex="-1"><a class="header-anchor" href="#platform-compatibility" aria-hidden="true">#</a> Platform Compatibility</h2><table><thead><tr><th style="text-align:center;">Property/Method/Event</th><th style="text-align:center;">Android</th><th style="text-align:center;">iOS</th><th style="text-align:center;">Desktop-Dev</th><th style="text-align:center;">Desktop</th></tr></thead><tbody><tr><td style="text-align:center;">notification</td><td style="text-align:center;">✅</td><td style="text-align:center;">✅</td><td style="text-align:center;">✅</td><td style="text-align:center;">X</td></tr></tbody></table><h2 id="see-also" tabindex="-1"><a class="header-anchor" href="#see-also" aria-hidden="true">#</a> See Also</h2>`,7);function h(m,f){const a=c("RouterLink");return r(),l("div",null,[d,e("p",null,[t("Options parameter is a "),n(a,{to:"/en/plaoc-plugin/interface/notification-options/"},{default:s(()=>[t("NotificationOptions")]),_:1}),t(" object.")]),u,e("p",null,[n(a,{to:"/en/plaoc-plugin/system/haptics/"},{default:s(()=>[t("HapticsPlugin")]),_:1})])])}const g=o(p,[["render",h],["__file","notification.html.vue"]]);export{g as default};
