SDL_OnApplic...terBackground(3)
π NAME π
okay so bestie, this page is SDL_OnApplic...terBackground(3) from the SDL3 FUNCTIONS manual, and it's all about SDL_OnApplicationDidEnterBackground β the function that lets iOS apps with external event handling report onApplicationDidEnterBackground. π
β¨ SYNOPSIS β¨
#include <SDL3/SDL_system.h>
void SDL_OnApplicationDidEnterBackground(void);
π DESCRIPTION π
This function is literally the lil hook for iOS apps that already have their own event handling β it lets them hook into SDL so SDL events get generated. It maps directly to an iOS-specific event, but since it doesn't do anything iOS-specific internally, it's available on all platforms, in case it might be useful for some specific paradigm. π
Most apps do not need to use this directly; SDL's internal event code will handle all this for windows created by SDL_CreateWindow! No cap, SDL has you covered there. π«Ά
π§΅ THREAD SAFETY π§΅
It is safe to call this function from any thread. Fr fr, any thread, go off. β¨
ποΈ AVAILABILITY ποΈ
This function is available since SDL 3.2.0. Iconic behavior, honestly. π
source: Simple Directmedia Layer Β· version: SDL 3.4.18 Β· page: SDL_OnApplic...terBackground(3) β that's the whole vibe, bestie, slay π
β¨
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms