Provides static utility methods for generating meta information and launching the ZOLOZ SDK.
public class ZLZFacade extends Object
java.lang.Object
↳ com.ap.zoloz.hummer.api.ZLZFacade
Provides static utility methods for generating meta information and launching the 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.
Parameters
|
Parameter name |
Data type |
Description |
|
context |
Context |
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.
Parameters
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.
Parameters
|
Parameter name |
Data type |
Description |
|
request |
ZLZRequest |
The ZOLOZ SDK request to launch. For more information about ZLZRequest, see ZLZRequest. |
|
callback |
IZLZCallback |
Called when the SDK transaction ends. For more information about IZLZCallback, see IZLZCallback. |
Parameters
N/A
Throws
N/A