Java 类com.facebook.react.views.webview.events.TopMessageEvent 实例源码

项目:react-native-android-new-crosswalk    文件:CrosswalkWebViewGroupManager.java   
@Override
public Map getExportedCustomDirectEventTypeConstants () {
    return MapBuilder.of(
        NavigationStateChangeEvent.EVENT_NAME,
        MapBuilder.of("registrationName", "onCrosswalkWebViewNavigationStateChange"),
        ErrorEvent.EVENT_NAME,
        MapBuilder.of("registrationName", "onCrosswalkWebViewError"),
        ProgressEvent.EVENT_NAME,
        MapBuilder.of("registrationName", "onCrosswalkWebViewProgress"),
        TopMessageEvent.EVENT_NAME,
        MapBuilder.of("registrationName", "onMessage")
    );
}
项目:react-native-webview-crosswalk    文件:CrosswalkWebViewGroupManager.java   
@Override
public Map getExportedCustomDirectEventTypeConstants () {
    return MapBuilder.of(
        NavigationStateChangeEvent.EVENT_NAME,
        MapBuilder.of("registrationName", "onCrosswalkWebViewNavigationStateChange"),
        ErrorEvent.EVENT_NAME,
        MapBuilder.of("registrationName", "onCrosswalkWebViewError"),
        ProgressEvent.EVENT_NAME,
        MapBuilder.of("registrationName", "onCrosswalkWebViewProgress"),
        TopMessageEvent.EVENT_NAME,
        MapBuilder.of("registrationName", "onMessage")
    );
}
项目:react-native-android-new-crosswalk    文件:CrosswalkWebView.java   
public void onMessage(String message) {
    eventDispatcher.dispatchEvent(new TopMessageEvent(this.getId(), message));
}
项目:RNLearn_Project1    文件:ReactWebViewManager.java   
public void onMessage(String message) {
  dispatchEvent(this, new TopMessageEvent(this.getId(), message));
}
项目:RNLearn_Project1    文件:ReactWebViewManager.java   
public void onMessage(String message) {
  dispatchEvent(this, new TopMessageEvent(this.getId(), message));
}
项目:Ironman    文件:ReactWebViewManager.java   
public void onMessage(String message) {
  dispatchEvent(this, new TopMessageEvent(this.getId(), message));
}
项目:react-native-x5    文件:RNX5WebViewManager.java   
public void onMessage(String message) {
    dispatchEvent(this, new TopMessageEvent(this.getId(), message));
}
项目:react-native-webview-crosswalk    文件:CrosswalkWebView.java   
public void onMessage(String message) {
    eventDispatcher.dispatchEvent(new TopMessageEvent(this.getId(), message));
}