onResume method

void onResume()

Called when the application is resumed after being suspended.

This typically happens when the browser tab or window regains focus, if autoSuspend was enabled and the app was previously suspended.

Override this method to restore game state or resume activities that were paused in onSuspend. The base App class automatically resumes audio.

Implementation

void onResume() {}