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

@:value(cast 0)@:impl@:enuminlineread onlyCLONE_ONLY:ClipboardTransferMode = 0

The Clipboard object should only return a copy.

@:value(cast 1)@:impl@:enuminlineread onlyCLONE_PREFERRED:ClipboardTransferMode = 1

The Clipboard object should return a copy if available and a reference if not.

@:value(cast 2)@:impl@:enuminlineread onlyORIGINAL_ONLY:ClipboardTransferMode = 2

The Clipboard object should only return a reference.

@:value(cast 3)@:impl@:enuminlineread onlyORIGINAL_PREFERRED:ClipboardTransferMode = 3

The Clipboard object should return a reference if available and a copy if not.