wmpf.Channel.off(string event, function callback)
取消监听已注册过的第三方 App 服务事件
参数
Object object
属性 | 类型 | 默认值 | 必填 | 说明 |
event | string | | 是 | 需要取消监听的事件名 |
callback | function | | 是 | on 时传入的 callback |
示例代码
The translations are provided by WeChat Translation and are for reference only. In case of any inconsistency and discrepancy between the Chinese version and the English version, the Chinese version shall prevail.Incorrect translation. Tap to report.