package com.google.zxing.client.result;
+import com.google.zxing.Result;
+
/**
* Implements the "MATMSG" email message entry format.
*
this.body = body;
}
- public static EmailDoCoMoResult parse(String rawText) {
+ public static EmailDoCoMoResult parse(Result result) {
+ String rawText = result.getText();
if (!rawText.startsWith("MATMSG:")) {
return null;
}