pressHome

suspend fun pressHome()

Triggers a system home button press to send the application to the background.

Platform Support

  • Android & iOS: Supported (sends the application process to the background).

  • Desktop JVM & WasmJs: No-op (ignored), as desktop windows and browser tabs do not possess a device home button.

Example Usage

pressHome()