HapticsPlugin.notification()

BFChain2023年8月11日
  • Plugin
  • HapticsPlugin
  • notification
小于 1 分钟

震动通知效果

HapticsPlugin.notification(options)

参数

选项参数是一个 NotificationOptions对象;

返回值

返回一个promise

示例

import { hapticsPlugin } from "@plaoc/plugin";
hapticsPlugin.notification({
  type: "SUCCESS"
})

平台兼容性

属性/方法/事件AndroidIOSDesktop-DevDesktop
notificationX

相关链接

HapticsPlugin

评论
  • 按正序
  • 按倒序
  • 按热度
Powered by Waline v2.13.0