Code example for Bundle

Methods: putBooleanputString

0
        WebViewClassic.fromWebView(webview).documentAsText(msg);
    } 
 
    @Override 
    public Bundle getBundle() {
        Bundle bundle = new Bundle();
        bundle.putString("expectedTextualResult", mExpectedResult);
        bundle.putString("expectedTextualResultPath", mExpectedResultPath);
        bundle.putString("actualTextualResult", getActualTextResult());
        bundle.putString("additionalTextOutputString", getAdditionalTextOutputString());
        bundle.putString("relativePath", mRelativePath);
        bundle.putBoolean("didTimeOut", mDidTimeOut);
        bundle.putString("type", getType().name());
        return bundle;
    } 
 
    @Override 
    public String getRelativePath() {
        return mRelativePath;
    } 
}