| 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. |
| Type | Name | Desc |
| int | ORIENTATION_AUTO | Adaptive mode. The physical sensor decides the screen orientation. |
| int | ORIENTATION_LANDSCAPE | Landscape mode. The screen width is greater than the screen height. |
| int | ORIENTATION_PORTRAIT | Portrait mode. The screen height is greater than the screen width. |
| Return type | Method name |
| int | getOrientation() |
| 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 |
| Method |
| public final int getOrientation() |
| Obtains the recognition screen orientation. |
Return
| Type | desc |
| int | Recognition screen orientation. ORIENTATION_AUTO (default): adaptive mode ORIENTATION_LANDSCAPE: landscape mode ORIENTATION_PORTRAIT: portrait mode |