The ZLZFacade class provides utility methods to generate ZOLOZ SDK meta information and launch the SDK.
Framework: hummer
class ZLZFacade : NSObject
This class provides static utility methods to generate meta information and launch the ZOLOZ SDK.
Nested classes
|
Class name |
Class description |
|
typedef void(^ZLZCallback)(ZLZResponse *); |
The callback class for the ZOLOZ SDK. |
Fields
N/A
Methods
getMetaInfo
+ (NSString *)getMetaInfo;
Generates ZOLOZ SDK meta information for server-side transaction initialization.
Parameters
N/A
Returns
|
Data type |
Description |
|
NSString |
ZOLOZ SDK meta information. |
Throws
N/A
sharedInstance
+ (ZLZFacade *)sharedInstance;
Returns the ZLZFacade instance.
Parameters
N/A
Returns
|
Data type |
Description |
|
ZLZFacade |
The |
Throws
N/A
startWithRequest: completeCallback: interruptCallback:
- (void)startWithRequest:(ZLZRequest *)request
completeCallback:(ZLZCallback )completeCallback
interruptCallback:(ZLZCallback )interruptCallback;
Launches the ZOLOZ SDK.
Parameters
|
Parameter name |
Data type |
Description |
|
request |
ZLZRequest |
The description of the ZOLOZ SDK to start. Defined in the ZLZRequest class. |
|
completeCallback |
ZLZCallback |
Triggered after ZOLOZ authentication completes. |
|
interruptCallback |
ZLZCallback |
Triggered when the user clicks Cancel to exit the SDK. |
Parameters
N/A
Throws
N/A