Skip to main content
Use this API to stop listening for background transition events that were registered with my.onAppHide().

Parameters

Code Example

Remove Specific Listener

Remove All Listeners

Pass the same callback function reference to my.offAppHide() that was used with my.onAppHide() to remove only that specific listener.

my.onAppHide

Listen for background events

my.offAppShow

Stop listening for foreground events