CameraProcessingFragmentSettings
Inheritance: java.lang.Object
All Implemented Interfaces: android.os.Parcelable
public class CameraProcessingFragmentSettings implements Parcelable
Settings for CameraProcessingFragment
Fields
Field | Description |
---|---|
CREATOR |
Methods
CREATOR
public static final Parcelable.Creator<CameraProcessingFragmentSettings> CREATOR
describeContents()
public int describeContents()
Returns: int
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getCameraProcessingMode()
public CameraMode getCameraProcessingMode()
Gets mode of camera usage. Current supports two modes = PHOTO and SNAPSHOT
Returns: CameraMode - mode of camera usage
getCameraResolution()
public Size getCameraResolution()
Gets current camera resolution Default is minimal resolution
Returns: android.util.Size -
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getPreferencesButtonContentDescriptionText()
public String getPreferencesButtonContentDescriptionText()
Gets ContentDescriptionText of PreferencesButtonContent
Returns: java.lang.String - ContentDescriptionText of PreferencesButtonContent
getRecognitionAreaSettings()
public RecognitionAreaSettings getRecognitionAreaSettings()
Gets setting related to recognition area marker
Returns: com.aspose.barcode.component.barcodescanner.RecognitionAreaSettings
getRecognitionButtonContentDescriptionText()
public String getRecognitionButtonContentDescriptionText()
Gets ContentDescriptionText of RecognitionButton
Returns: java.lang.String - ContentDescriptionText of RecognitionButton
getRecognizeButtonSize()
public int getRecognizeButtonSize()
Gets size of RecognizeButton
Returns: int - size of RecognizeButton
getScannerPreferencesButtonSize()
public int getScannerPreferencesButtonSize()
Gets size of PreferencesButton
Returns: int - size of PreferencesButton
hashCode()
public native int hashCode()
Returns: int
isFlashEnabled()
public boolean isFlashEnabled()
Returns true, if flash enabled. Suitable only with CameraMode.PHOTO Default is true
Returns: boolean -
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setCameraProcessingMode(CameraMode cameraProcessingMode)
public void setCameraProcessingMode(CameraMode cameraProcessingMode)
TODO Add to properties? Sets mode of camera usage. Current supports two modes = PHOTO and SNAPSHOT
Parameters:
Parameter | Type | Description |
---|---|---|
cameraProcessingMode | CameraMode |
setCameraResolution(Size cameraResolution)
public void setCameraResolution(Size cameraResolution)
Sets camera resolution Default is minimal resolution
Parameters:
Parameter | Type | Description |
---|---|---|
cameraResolution | android.util.Size |
setFlashEnabled(boolean flashEnabled)
public void setFlashEnabled(boolean flashEnabled)
Sets enable flash light Suitable only with CameraMode.PHOTO Default is true
Parameters:
Parameter | Type | Description |
---|---|---|
flashEnabled | boolean |
setPreferencesButtonContentDescriptionText(String preferencesButtonContentDescriptionText)
public void setPreferencesButtonContentDescriptionText(String preferencesButtonContentDescriptionText)
Sets ContentDescriptionText of PreferencesButtonContent
Parameters:
Parameter | Type | Description |
---|---|---|
preferencesButtonContentDescriptionText | java.lang.String | ContentDescriptionText of PreferencesButtonContent |
setRecognitionAreaSettings(RecognitionAreaSettings recognitionAreaSettings)
public void setRecognitionAreaSettings(RecognitionAreaSettings recognitionAreaSettings)
Sets setting related to recognition area marker
Parameters:
Parameter | Type | Description |
---|---|---|
recognitionAreaSettings | com.aspose.barcode.component.barcodescanner.RecognitionAreaSettings |
setRecognitionButtonContentDescriptionText(String recognitionButtonContentDescriptionText)
public void setRecognitionButtonContentDescriptionText(String recognitionButtonContentDescriptionText)
Sets ContentDescriptionText of RecognitionButton
Parameters:
Parameter | Type | Description |
---|---|---|
recognitionButtonContentDescriptionText | java.lang.String | ContentDescriptionText of RecognitionButton |
setRecognizeButtonSize(int recognizeImageButtonSize)
public void setRecognizeButtonSize(int recognizeImageButtonSize)
Sets size of RecognizeButton
Parameters:
Parameter | Type | Description |
---|---|---|
recognizeImageButtonSize | int | size of RecognizeButton |
setScannerPreferencesButtonSize(int scannerPreferencesButtonSize)
public void setScannerPreferencesButtonSize(int scannerPreferencesButtonSize)
Sets size of PreferencesButton
Parameters:
Parameter | Type | Description |
---|---|---|
scannerPreferencesButtonSize | int | size of PreferencesButton |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |
writeToParcel(Parcel parcel, int i)
public void writeToParcel(Parcel parcel, int i)
Parameters:
Parameter | Type | Description |
---|---|---|
parcel | android.os.Parcel | |
i | int |