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.

Get help quickly with Firebase support. Read our FAQs, Release notes, and guides, ask the community, then get direct support from the Firebase team.

Updated Oct 3, 2024

The Admin SDK lets you interact with Firebase from your server environment to perform actions like generating and verifying Firebase auth tokens, reading and writing to Realtime Database, and so on.

Updated Apr 16, 2024

Firebase ML lets you add powerful machine learning features to your app with ready-to-use APIs and support for custom model deployment.

Updated Feb 21, 2025