staticEnd()

From Engineering Client Portal

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.