TextParsedResult (ZXing 3.5.0 API)

com.google.zxing.client.result

## Class TextParsedResult

- java.lang.Object
- - com.google.zxing.client.result.ParsedResult
  - - com.google.zxing.client.result.TextParsedResult

-     public final class TextParsedResult
      extends ParsedResult

  A simple result type encapsulating a string that has no further interpretation.
  Author:
    Sean Owen

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TextParsedResult(String text, String language)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getDisplayResult()`
    `String` | `getLanguage()`
    `String` | `getText()`

    - ### Methods inherited from class com.google.zxing.client.result.ParsedResult

      `getType, maybeAppend, maybeAppend, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### TextParsedResult

          public TextParsedResult(String text,
                                  String language)

  - ### Method Detail

    - #### getText

          public String getText()

    - #### getLanguage

          public String getLanguage()

    - #### getDisplayResult

          public String getDisplayResult()

      Specified by:
        `getDisplayResult` in class `ParsedResult`

Copyright © 2007–2022. All rights reserved.