MCPcopy Create free account
hub / github.com/HumbleUI/JWM / set

Method set

shared/java/Clipboard.java:23–27  ·  view source on GitHub ↗

Set the system clipboard content. Previse clipboard content is cleared automatically. If provided entries list is emtpy, then this function is equivalent to clear call. If provided list contains several entries with the same format, then the last will be set. @param ent

(ClipboardEntry... entries)

Source from the content-addressed store, hash-verified

21 * @param entries List if clipboard entries to set
22 */
23 public static void set(ClipboardEntry... entries) {
24 assert _onUIThread() : "Should be run on UI thread";
25 assert entries.length > 0;
26 _nSet(entries);
27 }
28
29 /**
30 * <p>Get the system clipboard content.</p>

Callers 1

acceptMethod · 0.95

Calls 2

_onUIThreadMethod · 0.95
_nSetMethod · 0.95

Tested by

no test coverage detected