lastEventDict

From Engineering Client Portal

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Engineering Portal breadcrumbArrow.png Digital breadcrumbArrow.png iOS SDK API Reference breadcrumbArrow.png 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.