java.lang.Object | ||
↳ | com.sap.cloud.mobile.fiori.search.qrcodereader.QRCodeConfirmSettings | |
↳ | com.sap.cloud.mobile.fiori.search.qrcodereader.QRCodeReaderSettings |
Settings of the QR code reading.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
QRCodeReaderSettings()
Creates a new settings object of this type.
| |||||||||||
QRCodeReaderSettings(Intent intent)
Creates a new settings object by reading values from the specified intent.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int |
getBarcodeFormat()
this method gets the acceptable barcode types.
| ||||||||||
String |
getInvalidQRMessage()
getter method for the message of the validation screen upon failure
| ||||||||||
String |
getInvalidQRTitle()
getter method for the title of the validation screen upon failure
| ||||||||||
String |
getOkButtonString()
getter method for the OK button of the validation screen
| ||||||||||
boolean |
isAutoFocus()
getter method for the camera autofocus
| ||||||||||
boolean |
isSkipConfirmScreen()
getter method for confirm screen skip setting
| ||||||||||
void |
saveToIntent(Intent intent)
Saves this object into the specified intent.
| ||||||||||
void |
setAutoFocus(boolean autoFocus)
setter method for the camera autofocus
| ||||||||||
void |
setBarcodeFormat(int barcodeFormat)
this method sets the acceptable barcode types.
| ||||||||||
void |
setInvalidQRMessage(String invalidQRMessage)
setter method for the message of the validation screen upon failure
| ||||||||||
void |
setInvalidQRTitle(String invalidQRTitle)
setter method for the title of the validation screen upon failure
| ||||||||||
void |
setOkButtonString(String invalidQROk)
setter method for the OK button of the validation screen
| ||||||||||
void |
setSkipConfirmScreen(boolean skipConfirmScreen)
setter method for confirm screen skip setting
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Creates a new settings object of this type.
Creates a new settings object by reading values from the specified intent.
intent | the intent to read data from, must be non-null |
---|
this method gets the acceptable barcode types. The default type is QR code.
getter method for the message of the validation screen upon failure
getter method for the title of the validation screen upon failure
getter method for the camera autofocus
getter method for confirm screen skip setting
Saves this object into the specified intent. Use this method prior to sending the intent to display the QR code reader activity
intent | the intent to save this object to, must be non-null |
---|
setter method for the camera autofocus
autoFocus | the autofocus flag |
---|
this method sets the acceptable barcode types. The default type is QR code.
setter method for the message of the validation screen upon failure
setter method for the title of the validation screen upon failure
invalidQRTitle | the title |
---|
setter method for the OK button of the validation screen
setter method for confirm screen skip setting
skipConfirmScreen | variable to set if the confirm screen should be skipped. |
---|