SDK Events
Last updated
Was this helpful?
Last updated
Was this helpful?
The currently available events are:
Signals to the game that the overlay was either opened or closed. This is useful if you want to pause the game while the overlay is open.
Please note there can only be one checkout event happening at the time: Calling a new event will cancel the previous one. So the game should keep track of the latest SKU (product) involved in the checkout.
Notifies the game when a checkout has either been completed successfully or failed. This would normally be sent by the overlay after the game has initiated a request.
Notifies the game of a result to the action. This event delegate has the following signature:
The following status values can be returned:
SUCCESS
Successful execution
USER_REQUEST_DENIED
SDK has been initialized with an invalid user email.
SOMETHING_WENT_WRONG
An system error occurred. Please get in touch with us if you continue seeing this error.
Notifies the game of a result to the action. This event's delegate has the following signature:
The following status values can be returned:
SUCCESS
Successful execution
USER_REQUEST_DENIED
SDK has been initialized with an invalid user email.
SOMETHING_WENT_WRONG
An system error occurred. Please get in touch with us if you continue seeing this error.