public class

SimpleApplicationListener

extends Object
implements ApplicationListener
java.lang.Object
   ↳ com.urbanairship.app.SimpleApplicationListener

Class Overview

A convenience class to extend when you only want to listen for a subset of of application events.

Summary

Public Constructors
SimpleApplicationListener()
Public Methods
void onBackground(long time)
Called when the app is backgrounded.
void onForeground(long time)
Called when the app is foregrounded.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.urbanairship.app.ApplicationListener

Public Constructors

public SimpleApplicationListener ()

Public Methods

public void onBackground (long time)

Called when the app is backgrounded.

Parameters
time Time in milliseconds when the background occurred.

public void onForeground (long time)

Called when the app is foregrounded.

Parameters
time Time in milliseconds when the foreground occurred.