Packagecom.kongregate.air
Interfacepublic interface IMobile

This interface handles mobile-specific issues such as UI and opening the Kongregate panel.



Public Methods
 MethodDefined By
  
openKongregateWindow(target:String, id:String):void
Opens the Kongregate window to a specific item on the target page.
IMobile
  
trigger(name:String):void
Triggers an event from the game to the Kongregate SDK.
IMobile
Method Detail
openKongregateWindow()method
public function openKongregateWindow(target:String, id:String):void

Opens the Kongregate window to a specific item on the target page. For example a topic.

Parameters

target:String — the page to open to (e.g. Mobile.TOPICS) [optional]
 
id:String — the id on the page to open to (e.g. 1234) [optional]

trigger()method 
public function trigger(name:String):void

Triggers an event from the game to the Kongregate SDK.

Parameters

name:String