lastEventDict
From Engineering Client Portal
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.