CameraProcessingFragmentSettings

Inheritance: java.lang.Object

All Implemented Interfaces: android.os.Parcelable

public class CameraProcessingFragmentSettings implements Parcelable

Settings for CameraProcessingFragment

Fields

FieldDescription
CREATOR

Methods

MethodDescription
describeContents()
equals(Object arg0)
getCameraProcessingMode()Gets mode of camera usage.
getCameraResolution()Gets current camera resolution Default is minimal resolution
getClass()
getPreferencesButtonContentDescriptionText()Gets ContentDescriptionText of PreferencesButtonContent
getRecognitionAreaSettings()Gets setting related to recognition area marker
getRecognitionButtonContentDescriptionText()Gets ContentDescriptionText of RecognitionButton
getRecognizeButtonSize()Gets size of RecognizeButton
getScannerPreferencesButtonSize()Gets size of PreferencesButton
hashCode()
isFlashEnabled()Returns true, if flash enabled.
notify()
notifyAll()
setCameraProcessingMode(CameraMode cameraProcessingMode)TODO Add to properties? Sets mode of camera usage.
setCameraResolution(Size cameraResolution)Sets camera resolution Default is minimal resolution
setFlashEnabled(boolean flashEnabled)Sets enable flash light Suitable only with CameraMode.PHOTO Default is true
setPreferencesButtonContentDescriptionText(String preferencesButtonContentDescriptionText)Sets ContentDescriptionText of PreferencesButtonContent
setRecognitionAreaSettings(RecognitionAreaSettings recognitionAreaSettings)Sets setting related to recognition area marker
setRecognitionButtonContentDescriptionText(String recognitionButtonContentDescriptionText)Sets ContentDescriptionText of RecognitionButton
setRecognizeButtonSize(int recognizeImageButtonSize)Sets size of RecognizeButton
setScannerPreferencesButtonSize(int scannerPreferencesButtonSize)Sets size of PreferencesButton
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)
writeToParcel(Parcel parcel, int i)

CREATOR

public static final Parcelable.Creator<CameraProcessingFragmentSettings> CREATOR

describeContents()

public int describeContents()

Returns: int

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
cameraProcessingModeCameraMode

setCameraResolution(Size cameraResolution)

public void setCameraResolution(Size cameraResolution)

Sets camera resolution Default is minimal resolution

Parameters:

ParameterTypeDescription
cameraResolutionandroid.util.Size

setFlashEnabled(boolean flashEnabled)

public void setFlashEnabled(boolean flashEnabled)

Sets enable flash light Suitable only with CameraMode.PHOTO Default is true

Parameters:

ParameterTypeDescription
flashEnabledboolean

setPreferencesButtonContentDescriptionText(String preferencesButtonContentDescriptionText)

public void setPreferencesButtonContentDescriptionText(String preferencesButtonContentDescriptionText)

Sets ContentDescriptionText of PreferencesButtonContent

Parameters:

ParameterTypeDescription
preferencesButtonContentDescriptionTextjava.lang.StringContentDescriptionText of PreferencesButtonContent

setRecognitionAreaSettings(RecognitionAreaSettings recognitionAreaSettings)

public void setRecognitionAreaSettings(RecognitionAreaSettings recognitionAreaSettings)

Sets setting related to recognition area marker

Parameters:

ParameterTypeDescription
recognitionAreaSettingscom.aspose.barcode.component.barcodescanner.RecognitionAreaSettings

setRecognitionButtonContentDescriptionText(String recognitionButtonContentDescriptionText)

public void setRecognitionButtonContentDescriptionText(String recognitionButtonContentDescriptionText)

Sets ContentDescriptionText of RecognitionButton

Parameters:

ParameterTypeDescription
recognitionButtonContentDescriptionTextjava.lang.StringContentDescriptionText of RecognitionButton

setRecognizeButtonSize(int recognizeImageButtonSize)

public void setRecognizeButtonSize(int recognizeImageButtonSize)

Sets size of RecognizeButton

Parameters:

ParameterTypeDescription
recognizeImageButtonSizeintsize of RecognizeButton

setScannerPreferencesButtonSize(int scannerPreferencesButtonSize)

public void setScannerPreferencesButtonSize(int scannerPreferencesButtonSize)

Sets size of PreferencesButton

Parameters:

ParameterTypeDescription
scannerPreferencesButtonSizeintsize 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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int

writeToParcel(Parcel parcel, int i)

public void writeToParcel(Parcel parcel, int i)

Parameters:

ParameterTypeDescription
parcelandroid.os.Parcel
iint