Package org.sikuli.android
Class ADBRobot
java.lang.Object
org.sikuli.android.ADBRobot
- All Implemented Interfaces:
IRobot
public class ADBRobot extends Object implements IRobot
Created by Törcsi on 2016. 06. 26.
Revised by RaiMan
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description ScreenImagecaptureScreen(Rectangle screenRect)voidcleanup()voidclickEnds()voidclickStarts()voiddelay(int ms)ColorgetColorAt(int x, int y)IScreengetScreen()Return the underlying device object (if any).booleanisRemote()voidkeyDown(int code)voidkeyDown(String keys)voidkeyUp()voidkeyUp(int code)voidkeyUp(String keys)voidmouseDown(int buttons)voidmouseMove(int x, int y)voidmouseReset()intmouseUp(int buttons)voidmouseWheel(int wheelAmt)voidpressModifiers(int modifiers)voidreleaseModifiers(int modifiers)voidsetAutoDelay(int ms)voidsmoothMove(Location dest)voidsmoothMove(Location src, Location dest, long ms)voidtypeChar(char character, IRobot.KeyMode mode)voidtypeEnds()voidtypeKey(int key)voidtypeStarts()voidwaitForIdle()
-
Constructor Details
-
Method Details
-
isRemote
public boolean isRemote() -
getScreen
Description copied from interface:IRobotReturn the underlying device object (if any). -
cleanup
public void cleanup() -
keyDown
-
keyUp
-
keyDown
public void keyDown(int code) -
keyUp
public void keyUp(int code) -
keyUp
public void keyUp() -
pressModifiers
public void pressModifiers(int modifiers)- Specified by:
pressModifiersin interfaceIRobot
-
releaseModifiers
public void releaseModifiers(int modifiers)- Specified by:
releaseModifiersin interfaceIRobot
-
typeChar
-
typeKey
public void typeKey(int key) -
typeStarts
public void typeStarts()- Specified by:
typeStartsin interfaceIRobot
-
typeEnds
public void typeEnds() -
mouseMove
public void mouseMove(int x, int y) -
mouseDown
public void mouseDown(int buttons) -
mouseUp
public int mouseUp(int buttons) -
mouseReset
public void mouseReset()- Specified by:
mouseResetin interfaceIRobot
-
clickStarts
public void clickStarts()- Specified by:
clickStartsin interfaceIRobot
-
clickEnds
public void clickEnds() -
smoothMove
- Specified by:
smoothMovein interfaceIRobot
-
smoothMove
- Specified by:
smoothMovein interfaceIRobot
-
mouseWheel
public void mouseWheel(int wheelAmt)- Specified by:
mouseWheelin interfaceIRobot
-
captureScreen
- Specified by:
captureScreenin interfaceIRobot
-
getColorAt
- Specified by:
getColorAtin interfaceIRobot
-
waitForIdle
public void waitForIdle()- Specified by:
waitForIdlein interfaceIRobot
-
delay
public void delay(int ms) -
setAutoDelay
public void setAutoDelay(int ms)- Specified by:
setAutoDelayin interfaceIRobot
-