appDisableApi(): Difference between revisions

From Engineering Client Portal

(Created page with "{{Breadcrumb|}} {{Breadcrumb|Digital}} {{Breadcrumb|Android SDK API Reference}} {{CurrentBreadcrumb}} Category:Digital Category:Android SDK API Reference Enable or dis...")
 
No edit summary
 
Line 3: Line 3:
[[Category:Android SDK API Reference]]
[[Category:Android SDK API Reference]]
Enable or disable measurement functions.
Enable or disable measurement functions.
<blockquote>'''Note''': This method disables all measurement and is '''not''' to be used for Opt-out. For Opt-out functionality, see [[userOptOut()]]. </blockquote>


== Syntax ==
== Syntax ==

Latest revision as of 21:08, 2 August 2018

Engineering Portal / Digital / Android SDK API Reference / appDisableApi()
Enable or disable measurement functions.

Note: This method disables all measurement and is not to be used for Opt-out. For Opt-out functionality, see userOptOut().

Syntax

public void appDisableApi(boolean disabled)

Input Parameters

Parameter Description
disabled A Boolean value set by the app developer to enable or disable Nielsen measurement.

Output Parameters

Output Parameters (Return value) Description
void

Notes

To disable measurement, call the appDisableApi() method with the value set to TRUE.