public interface

ApplicationListener

com.urbanairship.app.ApplicationListener
Known Indirect Subclasses

Class Overview

Listener for application foreground and backgrounds.

Summary

Public Methods
abstract void onBackground(long milliseconds)
Called when the app is backgrounded.
abstract void onForeground(long milliseconds)
Called when the app is foregrounded.

Public Methods

public abstract void onBackground (long milliseconds)

Called when the app is backgrounded.

Parameters
milliseconds Time in milliseconds when the background occurred.

public abstract void onForeground (long milliseconds)

Called when the app is foregrounded.

Parameters
milliseconds Time in milliseconds when the foreground occurred.