Machine.setClipboardString] and [Machine.setClipboardImage] — what
the clipboard held before that write replaced it.
Nothing is restored automatically. To put a snapshot back, write its
fields with [Machine.setClipboardImage] /
[Machine.setClipboardString] — but note the platform clipboards
replace the whole selection on every write, so a snapshot holding
both formats can only have one of them restored (pick the image if in
doubt; that is also what [Machine.pasteText]‘s internal restore does).
Constructor
Returns
ClipboardContent
Properties
null | Image
required
The clipboard’s image content (8-bit RGBA, see
[
Machine.getClipboardImage]), when it had image data.null | string
required
The clipboard’s string content, when it had string data.

