From Engineering Client Portal

Revision as of 07:36, 21 May 2017 by Admin (talk | contribs) (Created page with "{{Breadcrumb|}} {{Breadcrumb|Digital}} {{Breadcrumb|Android SDK API Reference}} {{CurrentBreadcrumb}} Category:Digital Category:Android SDK API Reference This API is u...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Engineering Portal breadcrumbArrow.png Digital breadcrumbArrow.png Android SDK API Reference breadcrumbArrow.png appInForeground()
This API is used to capture the event of app coming into foreground from background.


public void appInForeground(Context context)

Input Parameters

Parameter Description
android.content.Context A valid context object must be passed in-order to get the expected behavior. This should not be a NULL context reference.

Output Parameters

Output Parameters (Return value) Description


In order to use this API, manually implement the logic for foreground detection of the app and trigger this API accordingly.