References

This document features the references for now.gg Events Module.

NowGGEventsSdkManager

The NowGGEventsSdkManager provides the public methods for you to send events/commands to your app/game.

Property:
Instance - Returns the instance of the class.
Methods:

1. OpenURL

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.

2. SendEventToBrowser

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.

3. GetAppLaunchDataDictionary

This method is used to retrieve a dictionary of all app launch data parameters.

4. GetAppLaunchDataProperty

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.
×
Text copied to clipboard
Link copied to clipbord
Questions? Please reach out to us at dev-support@now.gg