ApplicationState property

Unofficial Content
This documentation is valid for:

This property allows knowing the current state of your application.

Its values belong to the ApplicationState domain listed and described below.

Key Value Description
0 Active  The application is in the foreground or received events.
1 Inactive The application is in the foreground but not receiving events. This can happen when an interruption occurs (eg., an incoming call) or while switching from background state.
2 Background The application is not in the foreground.

Knowling the state of the application can be useful in event management scenarios (as push notifications or event location) and perform different actions depending on the status of implementation.

Notes

On Android devices, Inactive state behaviour does not exist. Therefore, in such devices, the property only acquires Active or Background values.