The ZLZRequest class describes an operation to be performed and works with ZLZFacade to launch the ZOLOZ SDK.
Framework: hummer
class ZLZRequest : NSObject
Describes an operation to be performed. Use this class with the ZLZFacade class to launch the ZOLOZ SDK.
Fields
|
Field name |
Data type |
Description |
|
kZLZCurrentViewControllerKey |
NSString |
The current ViewController. |
|
kZLZPubkey |
NSString |
The public key, obtained from the ZOLOZ portal and used by the ZOLOZ SDK. |
|
kZLZChameleonConfigKey |
NSString |
The UI configuration file path. For more information about UI configuration, |
|
kZLZLocaleKey |
NSString |
The language used by the ZOLOZ SDK. For more information about LOCALE, |
|
bizConfig |
NSDictionary |
The merchant configuration, including ViewController, public key, and locale. Use constant values to set fields in bizConfig. Example: |
|
zlzConfig |
NSString |
The configuration used to start the ZOLOZ SDK, generated by the ZOLOZ server when the merchant calls the |
Methods
initWithzlzConfig: bizConfig:
- (instancetype) initWithzlzConfig:(NSString *)config bizConfig:(NSDictionary *)param;
Constructs a ZLZRequst object.
Parameters
|
Parameter name |
Data type |
Description |
|
config |
NSString |
The configuration used to start the ZOLOZ SDK, generated by the ZOLOZ server when the merchant calls the |
|
param |
NSDictionary |
The merchant configuration, including ViewController, public key, and locale. Use constant values to set fields in bizConfig. Example: |
Returns
|
Data type |
Description |
|
instancetype |
The constructed |
Throws
N/A