public class ZLZFacade extends Object
java.lang.Object
↳ com.ap.zoloz.hummer.api.ZLZFacade
This class provides static utility methods for generating meta information, and helper to start ZOLOZ SDK.
Fields
N/A
Methods
getMetaInfo
public static String getMetaInfo(Context context)
Generates ZOLOZ SDK meta information, which is used for server-side transaction initialization.
Paramters
Parameter name | Data type | Description |
context | Context | Specifies the context of the application package that implements this class. |
Returns
Data type | Description |
String | The ZOLOZ SDK meta information. |
Throws
N/A
getInstance
public static ZLZFacade getInstance()
Returns the ZLZFacade
instance.
Paramters
N/A
Returns
Data type | Description |
ZLZFacade | The ZLZFacade instance. |
Throws
N/A
start
public void start(ZLZRequest request, IZLZCallback callback)
Launches the ZOLOZ SDK.
Paramters
Parameter name | Data type | Description |
request | ZLZRequest | Specifies the description of the ZOLOZ SDK to start. For more information about ZLZRequest, see ZLZRequest. |
callback | IZLZCallback | Called when the SDK transaction ends. For more information about IZLZCallback, seeIZLZCallback. |
Paramters
N/A
Throws
N/A