目录

class info
com.huawei.hms.mlplugin.card.bcr.MLBcrCaptureConfig
银行卡检测插件配置器:用于配置银行卡检测插件。

Constant Summary

TypeNameDesc
intORIENTATION_AUTO自动,由物理感应器决定显示方向。
intORIENTATION_LANDSCAPE横屏,显示时屏幕宽度大于高度。
intORIENTATION_PORTRAIT竖屏,显示时屏幕高度大于宽度。

Public Method Summary

Return typeMethod name
intgetOrientation()

Constants

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

Public Methods

Method
public final int getOrientation()
获取插件页面屏幕方位。

Return

Typedesc
int插件页面屏幕方位。
ORIENTATION_AUTO:自动;(默认值)
ORIENTATION_LANDSCAPE:横屏;
ORIENTATION_PORTRAIT:竖屏。