Interface HasAndroidClipboard

    • Method Detail

      • setClipboard

        default void setClipboard​(java.lang.String label,
                                  ClipboardContentType contentType,
                                  byte[] base64Content)
        Set the content of device's clipboard.
        Parameters:
        label - clipboard data label.
        contentType - one of supported content types.
        base64Content - base64-encoded content to be set.
      • setClipboardText

        default void setClipboardText​(java.lang.String label,
                                      java.lang.String text)
        Set the clipboard text.
        Parameters:
        label - clipboard data label.
        text - The actual text to be set.