userOptOut

From Engineering Client Portal

Revision as of 04:13, 21 May 2017 by Admin (talk | contribs) (Created page with "{{Breadcrumb|}} {{Breadcrumb|Digital}} {{Breadcrumb|iOS SDK API Reference}} {{CurrentBreadcrumb}} Category:Digital Category:iOS SDK API Reference This API is to be ca...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Engineering Portal / Digital / iOS SDK API Reference / userOptOut
This API is to be called when the user has elected to Opt-in or Opt-out of Nielsen measurement.

Note: The SDK will continue measurement even after the user has opted out from Nielsen measurement.

Syntax

 (BOOL) userOptOut: (NSString *) optOut;

Input Parameters

Parameter Description
optOut NSString value received back from the Nielsen Opt-out web page. This value is set by the web page and the application is responsible for passing this value back to the SDK without modification.

Output Parameters

Output Parameters (Return value) Description
FALSE The command response or URL was not intended for the Nielsen SDK. Retrieve the next URL if requested. TRUE This command was handled by the Nielsen SDK.

Notes

The value of the userOptOut state is persisted across application launches or applicationWillEnterForeground mode changes.