目录

class info
com.huawei.hms.mlplugin.card.bcr.MLBcrCaptureConfig
Represents the bank card recognition plug-in configurator, which is used to configure the bank card recognition plug-in.

Constant Summary

TypeNameDesc
intORIENTATION_AUTOAdaptive mode. The physical sensor decides the screen orientation.
intORIENTATION_LANDSCAPELandscape mode. The screen width is greater than the screen height.
intORIENTATION_PORTRAITPortrait mode. The screen height is greater than the screen width.

Public Method Summary

Return typeMethod name
intgetOrientation()

Constants

Constant
public static final int ORIENTATION_AUTO
Adaptive mode. The physical sensor decides the screen orientation.
Constant Value: 0
Constant
public static final int ORIENTATION_LANDSCAPE
Landscape mode. The screen width is greater than the screen height.
Constant Value: 1
Constant
public static final int ORIENTATION_PORTRAIT
Portrait mode. The screen height is greater than the screen width.
Constant Value: 2

Public Methods

Method
public final int getOrientation()
Obtains the recognition screen orientation.

Return

Typedesc
intRecognition screen orientation.
ORIENTATION_AUTO (default): adaptive mode
ORIENTATION_LANDSCAPE: landscape mode
ORIENTATION_PORTRAIT: portrait mode