public interface PushesFiles extends InteractsWithFiles, ExecutesMethod
| 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 mobile device.
|
default void |
pushFile(java.lang.String remotePath,
java.io.File file)
Saves the given file to the remote mobile device.
|
pullFile, pullFolderexecute, executedefault void pushFile(java.lang.String remotePath,
byte[] base64Data)
remotePath - Path to file to write data to on remote device
If the path starts with @applicationId/ prefix, then the file
will be pushed to the root of the corresponding application container.base64Data - Base64 encoded byte array of data to write to remote devicedefault void pushFile(java.lang.String remotePath,
java.io.File file)
throws java.io.IOException
remotePath - Path to file to write data to on remote device.
If the path starts with @applicationId/ prefix, then the file
will be pushed to the root of the corresponding application container.file - is a file to write to remote devicejava.io.IOException - when there are problems with a file or current file system