输入文本 / Input text Args: text: 要输入的文本 / Text to input Returns: Job: 作业对象 / Job object
(self, text: str)
| 157 | return self._gen_ctrl_job(ctrl_id) |
| 158 | |
| 159 | def post_input_text(self, text: str) -> Job: |
| 160 | """输入文本 / Input text |
| 161 | |
| 162 | Args: |
| 163 | text: 要输入的文本 / Text to input |
| 164 | |
| 165 | Returns: |
| 166 | Job: 作业对象 / Job object |
| 167 | """ |
| 168 | ctrl_id = Library.framework().MaaControllerPostInputText(self._handle, text.encode()) |
| 169 | return self._gen_ctrl_job(ctrl_id) |
| 170 | |
| 171 | def post_start_app(self, intent: str) -> Job: |
| 172 | """启动应用 / Start app |
nothing calls this directly
no test coverage detected