onInactive method

void onInactive()

Called when the app is in an inactive state and is not receiving user input. For example, when a phone call is received or when the app is in a multi-window mode.

Implementation

void onInactive() {}