'Reading a PowerPoint slide Speaker Notes from Office Add-In (web)(office.js)

I'm creating a PowerPoint Add-in (Javascript based Office Add-in for the web, aka Office.js), and need to read the Notes (Speaker Notes) for the current slide.

I can access the shapes and other content on a slide (reading and inserting new content) but cannot see how to access the Speaker Notes. Is this a supported scenario? And if so, where can I find documentation or examples?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source