-
public interface FilesThe interface to work with file permissions.
Required: Started AdbServer 1. Download a file "kaspresso/artifacts/adbserver-desktop.jar" 2. Start AdbServer => input in cmd "java jar path_to_file/adbserver-desktop.jar" Methods demanding to use AdbServer in the default implementation of this interface are marked. But nobody can't deprecate you to write implementation that doesn't require AdbServer.
-
-
Method Summary
-
-
Method Detail
-
push
abstract Unit push(String serverPath, String devicePath)
Performs adb push.
Required Permissions: INTERNET.
- Parameters:
serverPath- a file path relative to the server directory.devicePath- a path to copy.
-
remove
abstract Unit remove(String path)
Removes a file by given path.
Required Permissions: INTERNET
- Parameters:
path- a path to remove
-
-
-
-