public interface HasClipboard extends ExecutesMethod
| Modifier and Type | Method and Description |
|---|---|
default java.lang.String |
getClipboard(ClipboardContentType contentType)
Get the content of the clipboard.
|
default java.lang.String |
getClipboardText()
Get the clipboard text.
|
default void |
setClipboard(ClipboardContentType contentType,
byte[] base64Content)
Set the content of device's clipboard.
|
default void |
setClipboardText(java.lang.String text)
Set the clipboard text.
|
execute, executedefault void setClipboard(ClipboardContentType contentType, byte[] base64Content)
contentType - one of supported content types.base64Content - base64-encoded content to be set.default java.lang.String getClipboard(ClipboardContentType contentType)
contentType - one of supported content types.default void setClipboardText(java.lang.String text)
text - The actual text to be set.default java.lang.String getClipboardText()