public interface InteractsWithFiles extends ExecutesMethod
Modifier and Type | Method and Description |
---|---|
default byte[] |
pullFile(java.lang.String remotePath)
Pull a file from the simulator/device.
|
default byte[] |
pullFolder(java.lang.String remotePath)
Pull a folder content from the simulator/device.
|
execute, execute
default byte[] pullFile(java.lang.String remotePath)
remotePath
- If the path starts with @applicationId// prefix, then the file
will be pulled from the root of the corresponding application container.
Otherwise the root folder is considered as / on Android and
on iOS it is a media folder root (real devices only).default byte[] pullFolder(java.lang.String remotePath)
remotePath
- If the path starts with @applicationId/ prefix, then the folder
will be pulled from the root of the corresponding application container.
Otherwise the root folder is considered as / on Android and
on iOS it is a media folder root (real devices only).