_addEventListeners
minigame
client
Bind handlers to events between the client and minigame instances.
minigame
Minigame
Instance of the Minigame API.
client
Bellhop
Bellhop instance on the container.
envToQuery
env
Convert an environment object into an API query string
env
Object
The environment settings
The query string
onGoogleAnalyticEvent
event
Track an event for Google Analtyics
event
Event
Bellhop analyticEvent
onKarKingdomInit
event
Initialize the Kart Kingdom API
event
Object
Bellhop event
onLearningEvent
event
Track an event for springroll Learning
event
Event
The bellhop learningEvent
open
game
[options]
Open application based on a slug or bundleId in SpringRoll Connect
isProduction
If we're running in production mode, this is automatically set
by calling open()
, otherwise for openRemote()
or openPath()
it should be handled manually.
Default: false
REMOTE_HOST_COOKIE
The name of the remote cookie for saving the host name
learningEvent
Event when dispatching a Learning Dispatcher event
data
Object
The event data