closeSettings

abstract fun closeSettings(): Boolean

Programmatically closes the settings screen if it is currently being displayed.

Returns true if the settings screen was open and has been closed, or false if the settings screen was not open.

This is useful for scenarios where the host app needs to dismiss the settings screen programmatically, for example when re-entering kiosk mode or responding to external events. The showSettings onResult callback will still be invoked with a success result when the settings screen is closed via this method.