Notifications #

Currently only basic text-based Notifications are supported. You can show a notification to the User via the following API:

window.casthub.notify('Hello world!');

If the CastHub Window is minimised or not focussed, an Operating System Notification will be shown to the user with the text. An in-app Snackbar will be shown regardless of whether the window is focussed/visible.