public abstract static class ScannerData.Builder
extends java.lang.Object
ScannerData.Builder abstract class allows the user to create and return a
ScannerData object. For example:| Modifier and Type | Method and Description |
|---|---|
abstract ScannerData.Builder |
badgeId(int badgeId)
|
abstract ScannerData |
build()
Builds the
ScannerData object that is used to wrap various properties related to
scanned data. |
abstract ScannerData.Builder |
content(java.lang.String content)
|
abstract ScannerData.Builder |
permissionGranted(boolean permissionGranted)
Returns the
ScannerData.Builder for the ScannerData.permissionGranted() component of
the ScannerData object. |
abstract ScannerData.Builder |
permissionGrantedForever(boolean permissionGrantedForever)
Returns the
ScannerData.Builder for the ScannerData.permissionGrantedForever()
component of the ScannerData object. |
abstract ScannerData.Builder |
type(java.lang.String type)
|
public abstract ScannerData.Builder content(java.lang.String content)
content - the content of the scanned dataScannerData.Builder for the ScannerData.content() component of
the ScannerData object.public abstract ScannerData.Builder type(java.lang.String type)
type - the type of the scanned dataScannerData.Builder for the ScannerData.type() component of
the ScannerData object.public abstract ScannerData.Builder permissionGranted(boolean permissionGranted)
ScannerData.Builder for the ScannerData.permissionGranted() component of
the ScannerData object.permissionGranted - true if permission was granted for logical access;
false otherwise.ScannerData.Builder for the ScannerData.permissionGranted() component of
the ScannerData object.public abstract ScannerData.Builder permissionGrantedForever(boolean permissionGrantedForever)
ScannerData.Builder for the ScannerData.permissionGrantedForever()
component of the ScannerData object.permissionGrantedForever - true if permission was granted for logical access
for this visit and any future visits;
false otherwise.ScannerData.Builder for the ScannerData.permissionGrantedForever()
component of the ScannerData object.public abstract ScannerData.Builder badgeId(int badgeId)
badgeId - the identification number of the badgeScannerData.Builder for the ScannerData.badgeId() component of
the ScannerData object.public abstract ScannerData build()
ScannerData object that is used to wrap various properties related to
scanned data.ScannerData object that is used to wrap various properties related to
scanned data.