public abstract static class ScannerResultEntity.Item
extends java.lang.Object
ScannerResultEntity.Item abstract class wraps various attributes pertaining to the result of
a scan.| Modifier and Type | Field and Description |
|---|---|
static int |
STATUS_BADGE_CONDITION_ERROR
Unsuccessful scan due to a badge condition.
|
static int |
STATUS_NETWORK_ERROR
Unsuccessful scan due to a network error.
|
static int |
STATUS_REPORT_SCANNED_DATA_NOT_CONFIG
Unsuccessful scan due to Network Manager not configuring server to report scanned data.
|
static int |
STATUS_SUCCESS
Successful scan.
|
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
backgroundColor()
Returns a String of the background color of the scan result.
|
abstract int |
badgeId()
Returns an int of the identification number of the badge.
|
abstract java.lang.String |
badgeName()
Returns a String of the name of the badge.
|
abstract java.lang.String |
orgIconUrl()
Returns a String of the URL of the organization icon.
|
abstract int |
status()
Returns an int of the status of the scan.
|
public static final int STATUS_SUCCESS
public static final int STATUS_BADGE_CONDITION_ERROR
public static final int STATUS_NETWORK_ERROR
public static final int STATUS_REPORT_SCANNED_DATA_NOT_CONFIG
public abstract int badgeId()
public abstract int status()
public abstract java.lang.String badgeName()
public abstract java.lang.String backgroundColor()
@Nullable public abstract java.lang.String orgIconUrl()
null.