| class info |
| com.huawei.hms.mlplugin.card.bcr.MLBcrCaptureConfig |
| 银行卡检测插件配置器:用于配置银行卡检测插件。 |
| Type | Name | Desc |
| int | ORIENTATION_AUTO | 自动,由物理感应器决定显示方向。 |
| int | ORIENTATION_LANDSCAPE | 横屏,显示时屏幕宽度大于高度。 |
| int | ORIENTATION_PORTRAIT | 竖屏,显示时屏幕高度大于宽度。 |
| Return type | Method name |
| int | getOrientation() |
| Constant |
| public static final int ORIENTATION_AUTO |
| 自动,由物理感应器决定显示方向。 Constant Value: 0 |
| Constant |
| public static final int ORIENTATION_LANDSCAPE |
| 横屏,显示时屏幕宽度大于高度。 Constant Value: 1 |
| Constant |
| public static final int ORIENTATION_PORTRAIT |
| 竖屏,显示时屏幕高度大于宽度。 Constant Value: 2 |
| Method |
| public final int getOrientation() |
| 获取插件页面屏幕方位。 |
Return
| Type | desc |
| int | 插件页面屏幕方位。 ORIENTATION_AUTO:自动;(默认值) ORIENTATION_LANDSCAPE:横屏; ORIENTATION_PORTRAIT:竖屏。 |