Back to project page kirin-for-android.
The source code is released under:
Apache License
If you think the Android project kirin-for-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.futureplatforms.kirin.internal.core; /*from w w w . ja va2 s . c o m*/ import java.util.Collection; import com.futureplatforms.kirin.internal.attic.ProxyGenerator; import com.futureplatforms.kirin.internal.core.NativeContext.SettableFuture; public interface INativeContext { Collection<String> getMethodNamesForObject(String objectName); void registerNativeObject(String moduleName, Object object, ProxyGenerator proxyGenerator); void unregisterNativeObject(String moduleName); void executeCommandFromModule(String moduleName, String methodName, Object... args); <T> SettableFuture<T> getFuture(Long id); <T> void setReturnValue(Long id, T value); Long createNewId(); }