Skip navigation links
C G H I O R S T V 

C

com.scantrust.mobile.android_ui - package com.scantrust.mobile.android_ui
Provides the UI elements for the "three-steps" flow
ConsumerScanningUi - Class in com.scantrust.mobile.android_ui
Provides a convenient way of setting up the UI elements of the consumer-facing scanning process.
ConsumerScanningUi(Context, AttributeSet) - Constructor for class com.scantrust.mobile.android_ui.ConsumerScanningUi
 

G

getBottomLeft() - Method in class com.scantrust.mobile.android_ui.ROI
 
getBottomRight() - Method in class com.scantrust.mobile.android_ui.ROI
 
getCurrentStage() - Method in class com.scantrust.mobile.android_ui.ConsumerScanningUi
Returns the current UI scanning state
getHeight() - Method in class com.scantrust.mobile.android_ui.ROI
 
getPlaceHolderPosition() - Method in class com.scantrust.mobile.android_ui.ConsumerScanningUi
Returns the region of interest of the placeholder at the current stage
getProgressPercent() - Method in enum com.scantrust.mobile.android_ui.ScanStage
Returns the defined progress for the stage.
getTopLeft() - Method in class com.scantrust.mobile.android_ui.ROI
 
getTopRight() - Method in class com.scantrust.mobile.android_ui.ROI
 
getWidth() - Method in class com.scantrust.mobile.android_ui.ROI
 
getZoomedInPlaceholderPosition() - Method in class com.scantrust.mobile.android_ui.ConsumerScanningUi
Returns the region of interest of the placeholder for the zoomed-in stage.

H

hideInstructionBubble() - Method in class com.scantrust.mobile.android_ui.ConsumerScanningUi
Hides the instruction bubble

I

isTorchOn() - Method in class com.scantrust.mobile.android_ui.ConsumerScanningUi
Returns the state of the torch icon

O

onClick() - Method in interface com.scantrust.mobile.android_ui.TorchOnClickListener
Invoked when the view is clicked.
onSizeChanged(int, int, int, int) - Method in class com.scantrust.mobile.android_ui.ConsumerScanningUi
 
onVisibilityChanged(View, int) - Method in class com.scantrust.mobile.android_ui.ConsumerScanningUi
 

R

resetAllMsgUI() - Method in class com.scantrust.mobile.android_ui.ConsumerScanningUi
Resets the instructions to their initial states.
resetScanningStage() - Method in class com.scantrust.mobile.android_ui.ConsumerScanningUi
Resets the scanning stage to the initial one; the UI will be ready for a new scanning session
ROI - Class in com.scantrust.mobile.android_ui
Holds the points of a square or a rectangle
ROI(int, int, int, int) - Constructor for class com.scantrust.mobile.android_ui.ROI
 
runThumbScalingAnim() - Method in class com.scantrust.mobile.android_ui.ConsumerScanningUi
Plays the thumb animation

S

ScanStage - Enum in com.scantrust.mobile.android_ui
Defines the UI scanning stage for the three-steps flow
setCurrentStage(ScanStage) - Method in class com.scantrust.mobile.android_ui.ConsumerScanningUi
Sets the current stage and adjusts the UI accordingly
setResultImg(Bitmap) - Method in class com.scantrust.mobile.android_ui.ConsumerScanningUi
Displays the provided scanning result image
setScanningProgress(int) - Method in class com.scantrust.mobile.android_ui.ConsumerScanningUi
Sets the scanning progress bar value.
setTorchOnClickListener(TorchOnClickListener) - Method in class com.scantrust.mobile.android_ui.ConsumerScanningUi
Attaches the provided listener to the torch icon.
setWindowProportion(float, Size, float) - Method in class com.scantrust.mobile.android_ui.ConsumerScanningUi
Sets the window proportion and adjusts the size of the placeholder based on the given parameters
setZoomedInGrayLayout() - Method in class com.scantrust.mobile.android_ui.ConsumerScanningUi
Sets the gray overlay layout to its zoomed-in position
setZoomedOutGrayLayout() - Method in class com.scantrust.mobile.android_ui.ConsumerScanningUi
Sets the gray overlay layout to its zoomed-out position
showInstructionBubble(String, int) - Method in class com.scantrust.mobile.android_ui.ConsumerScanningUi
Shows the instruction bubble with the given message and sets the bubble background to the provided colour resource id.
showInstructionBubble(String) - Method in class com.scantrust.mobile.android_ui.ConsumerScanningUi
Shows the instruction bubble with the given message
showResultContainer(boolean) - Method in class com.scantrust.mobile.android_ui.ConsumerScanningUi
Makes the result container visible or gone.
showScanningBarAndMsgBubble(boolean) - Method in class com.scantrust.mobile.android_ui.ConsumerScanningUi
Show/hide the progress bar and the msg bubble.

T

TorchOnClickListener - Interface in com.scantrust.mobile.android_ui
Interface definition for a callback invoked when the torch icon is clicked.
toString() - Method in class com.scantrust.mobile.android_ui.ROI
 

V

valueOf(String) - Static method in enum com.scantrust.mobile.android_ui.ScanStage
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.scantrust.mobile.android_ui.ScanStage
Returns an array containing the constants of this enum type, in the order they are declared.
C G H I O R S T V 
Skip navigation links