FirebaseVisionDocumentText.RecognizedBreak

public static class FirebaseVisionDocumentText.RecognizedBreak extends Object

Detected start or end of a structural component.

Nested Class Summary

Constant Summary

int EOL_SURE_SPACE Line-wrapping break.
int HYPHEN End-line hyphen that is not present in text; does not co-occur with `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.
int LINE_BREAK Line break that ends a paragraph.
int SPACE Regular space.
int SURE_SPACE Sure space (very wide).
int UNKNOWN Unknown break label type.

Public Method Summary

int
getDetectedBreakType()
Gets detected break type.
boolean
getIsPrefix()
Returns true if break prepends an element.

Inherited Method Summary

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Constants

public static final int EOL_SURE_SPACE

Line-wrapping break.

Constant Value: 3

public static final int HYPHEN

End-line hyphen that is not present in text; does not co-occur with `SPACE`, `LEADER_SPACE`, or `LINE_BREAK`.

Constant Value: 4

public static final int LINE_BREAK

Line break that ends a paragraph.

Constant Value: 5

public static final int SPACE

Regular space.

Constant Value: 1

public static final int SURE_SPACE

Sure space (very wide).

Constant Value: 2

public static final int UNKNOWN

Unknown break label type.

Constant Value: 0

Public Methods

public int getDetectedBreakType ()

Gets detected break type.

public boolean getIsPrefix ()

Returns true if break prepends an element.