ZolozFacade

ZolozFacade class provides static methods for generating meta information and serves as the entry point for launching the ZOLOZ SDK.

Methods

getMetaInfo

Definition: static getMetaInfo(): string

Description: Generates ZOLOZ SDK meta information for server-side transaction initialization.

Parameter List

None.

Return Data

Data Type

Description

string

The ZOLOZ SDK meta information.

getInstance

Definition: static getInstance(): ZolozFacade

Description: Returns the ZolozFacade singleton instance.

Parameter List

None.

Return Data

Data Type

Description

ZolozFacade

The ZolozFacade instance.

startWithRequest

Definition: async startWithRequest(context: Context, request: ZolozRequest): Promise<ZolozResponse>

Description: Launches the ZOLOZ SDK.

Parameter List

Parameter Name

Required

Data Type

Description

context

Yes

Context

The current UIAbility context, used to display the SDK page.

request

Yes

ZolozRequest

The request object required to launch the ZOLOZ SDK. For more information about ZolozRequest, see ZolozRequest.

Return Data

Data Type

Description

Promise<ZolozResponse>

The response result of the ZOLOZ SDK. For more information about ZolozResponse, see ZolozResponse.