My app gives online poker rooms a "head-up display". It superimposes info on top of the poker table window.
Currently my app uses the Accessibility API to detect the location and size of the poker table's window. It polls once per second. Is there a way to do this with notifications rather than with polling?