用户接受连接

消息 ID:acceptWeb 在以下情况下会生成此消息:

  1. 用户接受连接。
  2. 开发者可以通过监听获取连接接受消息:

    复制
    window.addEventListener('message', function (e) { if (e.data.message && e.data.message.action == "acceptWeb") { // handler logic console.log('got acceptWeb event', e.data) } })

Comments

No comments yet. Why don’t you start the discussion?

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注