| class info |
| com.huawei.hms.mlsdk.document.MLDocument.Block |
Represents a detected text block. Six attributes inherited from Base are included: 1. getLanguageList(): Obtains the language of the text block; 2. getInterval(): Obtains the interval type of the text block; 3. getBorder(): Obtains the text block bounding box; 4. getStringValue(): Obtains text content of the text block; 5. getPossibility(): Obtains the detection result confidence; 6. getSections(): Obtains all sections contained in the text block. |
| Return type | Method name |
| List<MLDocument.Section> | getSections() |
| Method |
| public List<MLDocument.Section> getSections() |
| Obtains all sections contained in a text block. |
Return
| Type | desc |
| List<MLDocument.Section> | Returns a list of sections. |