Is there an app moved to background event

Is there an event that is fired when app is moved to background. Like when homebutton is pressed? I would like to quiet all sounds and, if it’s not already happening, freeze all looping draw calls and updates when user does so.

Uno.Platform2.Application.EnteringBackground += OnEnterBackground


void OnEnterBackground(Uno.Platform2.ApplicationState s) {
    debug_log "bg";

or in JS:

var lc = require('FuseJS/Lifecycle');
lc.onEnteringBackground = function () {

Ah cool