public class ScreenRecordingUploadOptions
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ScreenRecordingUploadOptions.RequestMethod |
| Constructor and Description |
|---|
ScreenRecordingUploadOptions() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
build()
Builds a map, which is ready to be passed to the subordinated
Appium API.
|
static ScreenRecordingUploadOptions |
uploadOptions() |
ScreenRecordingUploadOptions |
withAuthCredentials(java.lang.String user,
java.lang.String pass)
Sets the credentials for remote ftp/http authentication (if needed).
|
ScreenRecordingUploadOptions |
withHttpMethod(ScreenRecordingUploadOptions.RequestMethod method)
Sets the method name for http(s) upload.
|
ScreenRecordingUploadOptions |
withRemotePath(java.lang.String remotePath)
The path to the remote location, where the resulting video should be uploaded.
|
public static ScreenRecordingUploadOptions uploadOptions()
public ScreenRecordingUploadOptions withRemotePath(java.lang.String remotePath)
remotePath - The path to a writable remote location.public ScreenRecordingUploadOptions withAuthCredentials(java.lang.String user, java.lang.String pass)
user - The name of the user for the remote authentication.pass - The password for the remote authentication.public ScreenRecordingUploadOptions withHttpMethod(ScreenRecordingUploadOptions.RequestMethod method)
method - The HTTP method name.public java.util.Map<java.lang.String,java.lang.Object> build()