Class DocumentScannerAccessibilityConfiguration
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class DocumentScannerAccessibilityConfiguration implements Serializable
Class to wrap all the strings for Accessibility labels for widgets on the Document scanner screen
-
-
Field Summary
Fields Modifier and Type Field Description private final String
flashButtonAccessibilityLabel
private final String
flashButtonAccessibilityHint
private final String
multiPageButtonAccessibilityLabel
private final String
multiPageButtonAccessibilityHint
private final String
autoSnappingButtonAccessibilityLabel
private final String
autoSnappingButtonAccessibilityHint
private final String
cancelButtonAccessibilityLabel
private final String
cancelButtonAccessibilityHint
private final String
pageCounterButtonAccessibilityLabel
private final String
pageCounterAccessibilityHint
private final String
shutterButtonAccessibilityLabel
private final String
shutterButtonAccessibilityHint
-
Constructor Summary
Constructors Constructor Description DocumentScannerAccessibilityConfiguration(String flashButtonAccessibilityLabel, String flashButtonAccessibilityHint, String multiPageButtonAccessibilityLabel, String multiPageButtonAccessibilityHint, String autoSnappingButtonAccessibilityLabel, String autoSnappingButtonAccessibilityHint, String cancelButtonAccessibilityLabel, String cancelButtonAccessibilityHint, String pageCounterButtonAccessibilityLabel, String pageCounterAccessibilityHint, String shutterButtonAccessibilityLabel, String shutterButtonAccessibilityHint)
-
Method Summary
Modifier and Type Method Description final String
getFlashButtonAccessibilityLabel()
Text, that is used as an accessibility label for the flash button final String
getFlashButtonAccessibilityHint()
Text, that is used as an accessibility hint for the flash button final String
getMultiPageButtonAccessibilityLabel()
Text, that is used as an accessibility label for the multi-page button final String
getMultiPageButtonAccessibilityHint()
Text, that is used as an accessibility hint for the multi-page button. final String
getAutoSnappingButtonAccessibilityLabel()
Text, that is used as an accessibility label for the auto-snapping button final String
getAutoSnappingButtonAccessibilityHint()
Text, that is used as an accessibility hint for the auto-snapping button final String
getCancelButtonAccessibilityLabel()
Text, that is used as an accessibility label for the cancel button final String
getCancelButtonAccessibilityHint()
Text, that is used as an accessibility hint for the cancel button final String
getPageCounterButtonAccessibilityLabel()
Text, that is used as an accessibility label for the page-amount button. final String
getPageCounterAccessibilityHint()
Text, that is used as an accessibility hint for the page-amount button final String
getShutterButtonAccessibilityLabel()
Text, that is used as an accessibility label for the shutter button final String
getShutterButtonAccessibilityHint()
Text, that is used as an accessibility hint for the shutter button -
-
Constructor Detail
-
DocumentScannerAccessibilityConfiguration
DocumentScannerAccessibilityConfiguration(String flashButtonAccessibilityLabel, String flashButtonAccessibilityHint, String multiPageButtonAccessibilityLabel, String multiPageButtonAccessibilityHint, String autoSnappingButtonAccessibilityLabel, String autoSnappingButtonAccessibilityHint, String cancelButtonAccessibilityLabel, String cancelButtonAccessibilityHint, String pageCounterButtonAccessibilityLabel, String pageCounterAccessibilityHint, String shutterButtonAccessibilityLabel, String shutterButtonAccessibilityHint)
-
-
Method Detail
-
getFlashButtonAccessibilityLabel
final String getFlashButtonAccessibilityLabel()
Text, that is used as an accessibility label for the flash button
-
getFlashButtonAccessibilityHint
final String getFlashButtonAccessibilityHint()
Text, that is used as an accessibility hint for the flash button
-
getMultiPageButtonAccessibilityLabel
final String getMultiPageButtonAccessibilityLabel()
Text, that is used as an accessibility label for the multi-page button
-
getMultiPageButtonAccessibilityHint
final String getMultiPageButtonAccessibilityHint()
Text, that is used as an accessibility hint for the multi-page button.
-
getAutoSnappingButtonAccessibilityLabel
final String getAutoSnappingButtonAccessibilityLabel()
Text, that is used as an accessibility label for the auto-snapping button
-
getAutoSnappingButtonAccessibilityHint
final String getAutoSnappingButtonAccessibilityHint()
Text, that is used as an accessibility hint for the auto-snapping button
-
getCancelButtonAccessibilityLabel
final String getCancelButtonAccessibilityLabel()
Text, that is used as an accessibility label for the cancel button
-
getCancelButtonAccessibilityHint
final String getCancelButtonAccessibilityHint()
Text, that is used as an accessibility hint for the cancel button
-
getPageCounterButtonAccessibilityLabel
final String getPageCounterButtonAccessibilityLabel()
Text, that is used as an accessibility label for the page-amount button. It may use a place holder for the page count. For example "%d photos"
-
getPageCounterAccessibilityHint
final String getPageCounterAccessibilityHint()
Text, that is used as an accessibility hint for the page-amount button
-
getShutterButtonAccessibilityLabel
final String getShutterButtonAccessibilityLabel()
Text, that is used as an accessibility label for the shutter button
-
getShutterButtonAccessibilityHint
final String getShutterButtonAccessibilityHint()
Text, that is used as an accessibility hint for the shutter button
-
-
-
-