Returns a frame object referencing the current frame.
Example
const myFrame = fin.desktop.Frame.getCurrent();
myFrame.getInfo(info => {
console.log(info) // see return value below
});
// example info shape
{
"uuid": "OpenfinPOC",
"name": "bde3db18-3a92-46b0-b9c4-31ed5d6675cf",
"parent": {
"uuid": "OpenfinPOC",
"name": "OpenfinPOC"
},
"entityType": "iframe"
}