获取 Termux 命令 Intent

getTermuxCommandIntent(command, runBackground, sessionAction, top)

  • command string 命令
  • runBackground boolean 是否后台执行
  • sessionAction int 指定 会话动作
  • top boolean 是否不创建新会话
  • return Intent 意图