Tutorial: system.clipboard.availableFormats

system.clipboard.availableFormats

Reads available formats for the clipboard type

Example

fin.desktop.System.Clipboard.availableFormats(null, formats => {
    formats.forEach(format=>console.log(`The format ${format} is available to read`));
}, (reason, err) => {
    console.log(`Error while reading the clipboard Message: ${err.message}, Stack: ${err.stack}`);
});