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

inline read onlyCLONE_ONLY:ClipboardTransferMode = 0

The Clipboard object should only return a copy.

inline read onlyCLONE_PREFERRED:ClipboardTransferMode = 1

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

inline read onlyORIGINAL_ONLY:ClipboardTransferMode = 2

The Clipboard object should only return a reference.

inline read onlyORIGINAL_PREFERRED:ClipboardTransferMode = 3

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