com.metaio.sdk.jni
Class IARELInterpreterCallback

java.lang.Object
  extended by com.metaio.sdk.jni.IARELInterpreterCallback

public class IARELInterpreterCallback
extends Object

Interface to receive the callbacks form the ARELInterpreter.


Constructor Summary
IARELInterpreterCallback()
           
IARELInterpreterCallback(long cPtr, boolean cMemoryOwn)
           
 
Method Summary
 void delete()
           
static long getCPtr(IARELInterpreterCallback obj)
           
 void onSceneReady()
           
 void onSDKReady()
          splash screen is finished.
 boolean openWebsite(String url)
           
 boolean openWebsite(String url, boolean openInExternalApp)
           
 boolean playVideo(String videoURL)
           
 void swigReleaseOwnership()
           
 void swigTakeOwnership()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IARELInterpreterCallback

public IARELInterpreterCallback(long cPtr,
                                boolean cMemoryOwn)

IARELInterpreterCallback

public IARELInterpreterCallback()
Method Detail

getCPtr

public static long getCPtr(IARELInterpreterCallback obj)

delete

public void delete()

swigReleaseOwnership

public void swigReleaseOwnership()

swigTakeOwnership

public void swigTakeOwnership()

playVideo

public boolean playVideo(String videoURL)
Parameters:
videoURL - the url to the video true if handled by the callback, false to use the default implementation

openWebsite

public boolean openWebsite(String url,
                           boolean openInExternalApp)
Parameters:
url - the url to the website
openInExternalApp - true to open in external app, false otherwise true if handled by the callback, false to use the default implementation

openWebsite

public boolean openWebsite(String url)
Parameters:
url - the url to the website
openInExternalApp - true to open in external app, false otherwise true if handled by the callback, false to use the default implementation

onSDKReady

public void onSDKReady()
splash screen is finished.


onSceneReady

public void onSceneReady()