MCPcopy Create free account
hub / github.com/HelloBush/Java_MHXYdemo / SetDisplayDelay

Method SetDisplayDelay

src/pkgDm/Dm2Java.java:565–567  ·  view source on GitHub ↗

设置dx截图最长等待时间。内部默认是3000毫秒. 一般用不到调整这个 @param time 等待时间,单位是毫秒。 注意这里不能设置的过小,否则可能会导致截图失败,从而导致图色函数和文字识别失败 @return 0:失败 1:成功

(int time)

Source from the content-addressed store, hash-verified

563 * @return 0:失败 1:成功
564 */
565 public int SetDisplayDelay(int time){
566 return Dispatch.call(dm,"SetDisplayDelay",time).getInt();
567 }
568
569 /**
570 * 解除绑定窗口,并释放系统资源.一般在OnScriptExit调用

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getIntMethod · 0.45

Tested by

no test coverage detected