ActivityListener

public interface ActivityListener

Listener implemented by observers of the ActivityService.

Functions

Link copied to clipboard
public void applicationStartupComplete()
Triggered when the application has completed startup;
Link copied to clipboard
public void onActivityCreated(@NonNull() Activity activity, @Nullable() Bundle bundle)
Triggered when an activity is created.
Link copied to clipboard
public void onBackground(long timestamp)
Triggered when the app enters the background.
Link copied to clipboard
public void onForeground(    boolean coldStart,     long startupTime,     long timestamp)
Triggered when the application is resumed.
Link copied to clipboard
public void onView(@NonNull() Activity activity)
Triggered when an activity is opened.
Link copied to clipboard
public void onViewClose(@NonNull() Activity activity)
Triggered when an activity is closed.