SMSParsedResult (ZXing 3.5.0 API)

com.google.zxing.client.result

## Class SMSParsedResult

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

-     public final class SMSParsedResult
      extends ParsedResult

  Represents a parsed result that encodes an SMS message, including recipients, subject and body text.
  Author:
    Sean Owen

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SMSParsedResult(String[] numbers, String[] vias, String subject, String body)`
    `SMSParsedResult(String number, String via, String subject, String body)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getBody()`
    `String` | `getDisplayResult()`
    `String[]` | `getNumbers()`
    `String` | `getSMSURI()`
    `String` | `getSubject()`
    `String[]` | `getVias()`

    - ### 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

    - #### SMSParsedResult

          public SMSParsedResult(String number,
                                 String via,
                                 String subject,
                                 String body)

    - #### SMSParsedResult

          public SMSParsedResult(String[] numbers,
                                 String[] vias,
                                 String subject,
                                 String body)

  - ### Method Detail

    - #### getSMSURI

          public String getSMSURI()

    - #### getNumbers

          public String[] getNumbers()

    - #### getVias

          public String[] getVias()

    - #### getSubject

          public String getSubject()

    - #### getBody

          public String getBody()

    - #### getDisplayResult

          public String getDisplayResult()

      Specified by:
        `getDisplayResult` in class `ParsedResult`

Copyright © 2007–2022. All rights reserved.