Interface ApplicationStateListener
-
- All Implemented Interfaces:
public interface ApplicationStateListenerListener interface that is called whenever the instrumented application is brought to foreground from the background, or vice versa.
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonApplicationForegrounded()Called whenever the application is brought to the foreground (i.e. abstract UnitonApplicationBackgrounded()Called whenever the application is brought to the background (i.e. -
-
Method Detail
-
onApplicationForegrounded
abstract Unit onApplicationForegrounded()
Called whenever the application is brought to the foreground (i.e. first activity starts).
-
onApplicationBackgrounded
abstract Unit onApplicationBackgrounded()
Called whenever the application is brought to the background (i.e. last activity stops).
-
-
-
-