Updating javadoc for postNativeEvent.