HapticsPlugin.notification()
PluginHapticsPluginnotificationLess than 1 minute
Notification vibration effect.
HapticsPlugin.notification(options)
Parameters
Options parameter is a NotificationOptions object.
Returns
A promise.
Example
import { hapticsPlugin } from "@plaoc/plugins";
hapticsPlugin.notification({
type: "SUCCESS"
});
Platform Compatibility
Property/Method/Event | Android | iOS | Desktop-Dev | Desktop |
---|---|---|---|---|
notification | ✅ | ✅ | ✅ | X |
See Also
Powered by Waline v2.15.7