onHide() lifecycle method in the app registration.
Parameters
Code Example
AXML with Button
Use Cases
Save App State
Save App State
Pause Media
Pause Media
Stop Timers
Stop Timers
Related APIs
my.offAppHide
Stop listening for background events
my.onAppShow
Listen for foreground events