跳转至

ActivationArguments 对象

仅适用于 Windows。

  • type string - 启动应用的激活类型:'click'、'action' 或 'reply'。
  • arguments string - 来自 Windows 的原始激活参数字符串。
  • actionIndex number (optional) - 对于 'action' 类型,表示被点击按钮的索引。
  • reply string (optional) - 对于 'reply' 类型,表示用户在回复字段中输入的文本。
  • userInputs Record\<string, string> (optional) - 一个包含通知中所有用户输入的字典。

本页原文 Markdown:在 AtomGit 查看·内容源自开源项目 el/electron