public interface PushesFiles extends ExecutesMethod, CanRememberExtensionPresence
| Modifier and Type | Method and Description |
|---|---|
default void |
pushFile(java.lang.String remotePath,
byte[] base64Data)
Saves base64-encoded data as a file on the remote system.
|
default void |
pushFile(java.lang.String remotePath,
java.io.File file)
Sends the file to the remote device.
|
execute, executeassertExtensionExists, markExtensionAbsencedefault void pushFile(java.lang.String remotePath,
byte[] base64Data)
remotePath - Path to file to write data to on remote device.
Check the documentation on `mobile: pushFile`
extension for more details on possible values
for different platforms.base64Data - Base64 encoded byte array of media file data to write to remote devicedefault void pushFile(java.lang.String remotePath,
java.io.File file)
throws java.io.IOException
remotePath - See the documentation on pushFile(String, byte[])file - Is an existing local file to be written to the remote devicejava.io.IOException - when there are problems with a file on current file system