View source
enum abstract ClipboardTransferMode(Null<Int>)
package openfl.desktop
Available on all platforms
The ClipboardTransferMode class defines constants for the modes used as
values of the transferMode
parameter of the Clipboard.getData()
method.
The transfer mode provides a hint about whether to return a reference or a
copy when accessing an object contained on a clipboard.
Variables
inlineread onlyCLONE_PREFERRED:ClipboardTransferMode = 1
The Clipboard object should return a copy if available and a reference if not.
inlineread onlyORIGINAL_ONLY:ClipboardTransferMode = 2
The Clipboard object should only return a reference.
inlineread onlyORIGINAL_PREFERRED:ClipboardTransferMode = 3
The Clipboard object should return a reference if available and a copy if not.