lmw
2025-04-24 718f31c92e2029d05260810435a2c70cef6e6ce5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.zxing.scanner.result;
 
import com.google.zxing.client.result.TextParsedResult;
 
/**
 * Created by hupei on 2016/8/12.
 */
public class TextResult extends Result {
    private final String text;
    private final String language;
 
    public TextResult(TextParsedResult textParsedResult) {
        this.text = textParsedResult.getText();
        this.language = textParsedResult.getLanguage();
    }
 
    public String getText() {
        return text;
    }
 
    public String getLanguage() {
        return language;
    }
}