I've read the description of using Apple TV via AirPlay to show a second screen in an iOS app.
Is it possible to do the same kind of thing from a macOS application?
Is it documented?
(I apologize for not simply trying it, but I don't currently have a hardware configuration that will let me.)