Constant SDL_EVENT_DID_ENTER_BACKGROUND
pub const SDL_EVENT_DID_ENTER_BACKGROUND: SDL_EventType;
Available on crate feature
dep_sdl3
only.Expand description
The application did enter the background and may not get CPU for some time. This event must be handled in a callback set with SDL_AddEventWatch()
.
Called on iOS in applicationDidEnterBackground()
Called on Android in onPause()