From Engineering Client Portal

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.


@property (readonly) NSDictionary *lastEventDict;

Input Parameters

Parameter Description

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.


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.