Java 类org.apache.cordova.CordovaInterfaceImpl 实例源码

项目:syng-client    文件:WebViewFragment.java   
protected CordovaInterfaceImpl makeCordovaInterface() {
    return new CordovaInterfaceImpl(getActivity()) {
        @Override
        public Object onMessage(String id, Object data) {
            return WebViewFragment.this.onMessage(id, data);
        }
    };
}
项目:cordova-jsbackgroundservice    文件:WebViewService.java   
protected CordovaInterfaceImpl makeCordovaInterface() {
    return new CordovaInterfaceImpl(dummyActivity);
}