MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / post_stop_app

Method post_stop_app

source/binding/Python/maa/controller.py:184–194  ·  view source on GitHub ↗

关闭应用 / Stop app Args: intent: 目标应用 (Adb 控制器: package name) / Target app (Adb controller: package name) Returns: Job: 作业对象 / Job object

(self, intent: str)

Source from the content-addressed store, hash-verified

182 return self._gen_ctrl_job(ctrl_id)
183
184 def post_stop_app(self, intent: str) -> Job:
185 """关闭应用 / Stop app
186
187 Args:
188 intent: 目标应用 (Adb 控制器: package name) / Target app (Adb controller: package name)
189
190 Returns:
191 Job: 作业对象 / Job object
192 """
193 ctrl_id = Library.framework().MaaControllerPostStopApp(self._handle, intent.encode())
194 return self._gen_ctrl_job(ctrl_id)
195
196 def post_touch_down(self, x: int, y: int, contact: int = 0, pressure: int = 1) -> Job:
197 """按下 / Touch down

Callers

nothing calls this directly

Calls 2

_gen_ctrl_jobMethod · 0.95
frameworkMethod · 0.80

Tested by

no test coverage detected