public class RuntimeBridge extends BaseSystemBridge implements IRuntime, APIBridge
apiGroup| Constructor and Description |
|---|
RuntimeBridge(IRuntime delegate)
Constructor with delegate.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dismissApplication()
Dismiss the current Application
|
boolean |
dismissSplashScreen()
Whether the application dismiss the splash screen successfully or not
|
IRuntime |
getDelegate()
Get the delegate implementation.
|
APIResponse |
invoke(APIRequest request)
Invokes the given method specified in the API request object.
|
void |
setDelegate(IRuntime delegate)
Set the delegate implementation.
|
getAPIGroup, getAPIVersion, getJSONParserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAPIGroup, getAPIVersionpublic RuntimeBridge(IRuntime delegate)
delegate - The delegate implementing platform specific functions.public final IRuntime getDelegate()
public final void setDelegate(IRuntime delegate)
delegate - The delegate implementing platform specific functions.public void dismissApplication()
dismissApplication in interface IRuntimepublic boolean dismissSplashScreen()
dismissSplashScreen in interface IRuntimepublic APIResponse invoke(APIRequest request)
invoke in interface APIBridgeinvoke in class BaseSystemBridgerequest - APIRequest object containing method name and parameters.