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