This document features the references for now.gg Events Module.
The NowGGEventsSdkManager
provides the public methods for you to send events/commands to your app/game.
Instance - Returns the instance of the class.
This method is used to open the specified URL in a new browser window.
Params | Type | Summary |
---|---|---|
url | string | Opens the provided URL in a new browser window. |
This method is used to send the event information to your HTML Page.
Params | Type | Summary |
---|---|---|
eventName | string | Name of the event to be sent to the HTML page. |
eventData | string | The payload of the event to sent to the HTML page. |
Note: As the function intended for transferring data to the HTML is generic, ensure to serialize and deserialize eventData
according to your requirements.
This method is used to retrieve a dictionary of all app launch data parameters.
This method is used to retrieve a specific app launch data parameter by name.
Params | Type | Summary |
---|---|---|
property_name | string | Parameter to be retrieved from app launch data. |
Document Rev. 1.0