public class TextDetectionItemsReq extends Object
| Constructor and Description |
|---|
TextDetectionItemsReq() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getText()
待检测文本,编码格式为“utf-8”,限定5000个字符以内,文本长度超过5000个字符时,只检测前5000个字符。
|
String |
getType()
文本类型,默认为“content”,即正文内容,当前只支持“content”类型,未来会扩大支持类型范围。
|
int |
hashCode() |
void |
setText(String text) |
void |
setType(String type) |
String |
toString() |
TextDetectionItemsReq |
withText(String text) |
TextDetectionItemsReq |
withType(String type) |
public TextDetectionItemsReq withText(String text)
public String getText()
public void setText(String text)
public TextDetectionItemsReq withType(String type)
public String getType()
public void setType(String type)
Copyright © 2022. All rights reserved.