WZDataEvent

Superclass:
NSObject
Declared In:

Introduction

The WZDataEvent class provides the top-level interface for encapsulating a list or map of items that represent server metadata that is sent and received by GoCoder.



Methods

-initWithName:mapParams:

initWithName:mapParams:


- (nonnull instancetype) initWithName:(nonnull NSString *)name 
        mapParams:(nonnull WZDataMap *)mapParams; 
Parameters
name

the event name of the WZDataEvent.

mapParams

the map of event data to include in the WZDataEvent.

Return Value

An instance of WZDataEvent

Discussion

Initialize a new WZDataEvent with a WZDataMap of event data


Properties

eventMapParams
eventName

eventMapParams


@property (nonatomic,
    strong,
    nullable) WZDataMap *eventMapParams; 
Discussion

The WZDataMap that contains the event data. If this value is set, eventListParams should be nil.


eventName


@property (nonatomic,
    strong,
    nullable) NSString *eventName; 
Discussion

The event name of the WZDataEvent