Window.onDeactivate

Function/Meaning

When the window becomes inactive

Type
WindowclassEvent
Syntax
onDeactivate()
Arguments
Return value
None (void)
Explanation

Represents an event function that is called when the window becomes inactive.
Note that this event can also occur if the window is already inactive (there is no guarantee that it will occur completely onActivate → onDeactivate → onActivate → ……).
Please note that on Android, after being inactive, the process may be terminated without returning.

Reference
Window.onActivate
System.onActivate
System.onDeactivate