OnEnterBackground
OnEnterBackground is a virtual lifecycle method in the LynxExtensionModule class. It is called by the Lynx framework when the host application transitions from the foreground to the background.
This callback is always invoked on the UI thread. It is the appropriate place to pause non-essential activities, such as animations, video playback, or frequent data polling, to conserve system resources and battery life.
Method Signature
Usage
Override this method in your LynxExtensionModule subclass to handle application backgrounding events. You should pause or throttle any resource-intensive tasks that are not required to run in the background.
Example
See Also
OnEnterForeground(): The counterpart to this method, called when the application returns to the foreground.
Compatibility
LCD tables only load in the browser