lastEventDict

From Engineering Client Portal

Revision as of 04:20, 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 Queries the Nielsen...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Engineering Portal / Digital / iOS SDK API Reference / lastEventDict
Queries the Nielsen App Api framework for the last event that occurred and returns an NSDictionary object with the event information.

Syntax

@property (readonly) NSDictionary *lastEventDict;

Input Parameters

Parameter Description
None

Output Parameters

Output Parameters (Return value) Description
Getting a self object and JSON object with the event occurred information.
eventCode NSInteger which specifies the NielsenAppApi event code and when it occurred.
eventDescription An NSString object that describes the actual event.
timestamp NSDate object containing a time stamp at which the last event occurred.

Notes

The userInfo dictionary object in the NSError contains descriptive information about the error that occurred, which is predefined by the Nielsen App SDK and the time it occurred. Refer to Event and Error Handling section for more details.