public final class URIResultHandler extends ResultHandler
| Constructor and Description |
|---|
URIResultHandler(android.app.Activity activity,
ParsedResult result) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areContentsSecure()
Some barcode contents are considered secure, and should not be saved to
history, copied to the clipboard, or otherwise persisted.
|
java.lang.CharSequence |
getDisplayContents()
Create a possibly styled string for the contents of the current barcode.
|
int |
getDisplayTitle()
A string describing the kind of barcode that was found, e.g.
|
getRawResult, getResult, getTypepublic URIResultHandler(android.app.Activity activity,
ParsedResult result)
public java.lang.CharSequence getDisplayContents()
ResultHandlergetDisplayContents in class ResultHandlerpublic int getDisplayTitle()
ResultHandlergetDisplayTitle in class ResultHandlerpublic boolean areContentsSecure()
ResultHandlerareContentsSecure in class ResultHandler