public class OcrDrivingLicenceRequest extends AbstractBaseRequest
AbstractBaseRequest.BytesContent| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_DRIVER_LICENSE
驾驶证
|
static int |
TYPE_VEHICLE_LICENSE
行驶证
|
| Constructor and Description |
|---|
OcrDrivingLicenceRequest(String bucketName,
int type,
File image) |
OcrDrivingLicenceRequest(String bucketName,
int type,
String url) |
| Modifier and Type | Method and Description |
|---|---|
void |
check_param() |
File |
getImage() |
int |
getType() |
String |
getUrl() |
boolean |
isUrl() |
getBucketName, getBytesContent, getMemberStringValue, setBucketName, toStringpublic static final int TYPE_VEHICLE_LICENSE
public static final int TYPE_DRIVER_LICENSE
public OcrDrivingLicenceRequest(String bucketName, int type, String url)
type - TYPE_VEHICLE_LICENSE 或 TYPE_DRIVER_LICENSEpublic OcrDrivingLicenceRequest(String bucketName, int type, File image)
type - TYPE_VEHICLE_LICENSE 或 TYPE_DRIVER_LICENSEpublic void check_param()
throws ParamException
check_param in class AbstractBaseRequestParamExceptionpublic boolean isUrl()
public String getUrl()
public File getImage()
public int getType()
Copyright © 2019. All rights reserved.