Full screen mode with no notifications

I have a stop watch app which requires the user to view the full screen with out any distractions.

Is there away to prevent any notification from covering the screen while the page is active.
these notitications are coming from other app like Facebook messeneger / whatsapp etc…

I already have KeepAwake which preevents the screen from going to sleep