staticEnd()

From Engineering Client Portal

Revision as of 21:11, 30 March 2023 by NickParrucci (talk | contribs) (Created page with "{{Breadcrumb|}} {{Breadcrumb|Digital}} {{Breadcrumb|Android SDK API Reference}} {{CurrentBreadcrumb}} Category:Digital Category:Android SDK API Reference Ends DCR stat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Engineering Portal / Digital / Android SDK API Reference / staticEnd()
Ends DCR static duration measurement of current page/section/asset. Call staticEnd when a new DCR static view event is desired for subsequent loadMetadata call with same section name. The default behavior of AppSDK is to ignore a static loadMetadata call unless the section parameter is different. By calling staticEnd, a new view event can be initiated even in cases where section parameter is the same as previous metaData. This can happen with single-page or single-panel apps.

Syntax

public void staticEnd()

Input Parameters

Parameter Description
None

Output Parameters

Output Parameters (Return value) Description
void

Notes

It is very important that the SDK calls staticEnd before loadMetadata when the section parameter is the same as previous metaData, but a new view event is desired.