platform Class
platform includes functions for the communication with the platform(android/iOS).
The Singleton instance of the class will automatically be created on World
startup and can be accessed via AR.platform.
Item Index
Methods
Methods
sendJSONObject
(
-
jsonObject
Sends a JSON object to the platform, this object can be received by using ArchitectJavaScriptInterfaceListener.onJSONObjectReceived on android and architectView:receivedJSONObject on iOS.
Parameters:
-
jsonObject
Object