ZLZFacade

Framework: hummer

class ZLZFacade : NSObject 

This class provides static utility methods for generating meta information, and helper to start ZOLOZ SDK.  

Nested classes

Class name

Class description

typedef void(^ZLZCallback)(ZLZResponse *);

The callback calss for the ZOLOZ SDK.

Fields

N/A

Methods

getMetaInfo

+ (NSString *)getMetaInfo;

Generates the ZOLOZ SDK meta information, which is used for server-side transaction initialization.

Paramters

N/A

Returns

Data type

Description

NSString

The ZOLOZ SDK meta information.

Throws

N/A

sharedInstance

+ (ZLZFacade *)sharedInstance;

Returns the ZLZFacade instance.

Paramters

N/A

Returns

Data type

Description

ZLZFacade

The ZLZFacade instance.

Throws

N/A

startWithRequest: completeCallback: interruptCallback:

copy
- (void)startWithRequest:(ZLZRequest *)request
        completeCallback:(ZLZCallback )completeCallback
       interruptCallback:(ZLZCallback )interruptCallback;

Launches the ZOLOZ SDK.

Paramters

Parameter name

Data type

Description

request

ZLZRequest

The description of the ZOLOZ SDK to start.

For more information about ZLZRequest, see ZLZRequest.

completeCallback

ZLZCallback

The callback that is triggered after ZOLOZ auth is completed.

interruptCallback

ZLZCallback

The callback that is triggered when the user clicks Cancel to exit the SDK.

Paramters

N/A

Throws

N/A