FirebaseVisionDocumentText.RecognizedBreak
Stay organized with collections
Save and categorize content based on your preferences.
Detected start or end of a structural component.
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 |
|
boolean |
getIsPrefix()
Returns true if break prepends an element.
|
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
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
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
public static final int
SURE_SPACE
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-08-08 UTC.
[null,null,["Last updated 2020-08-08 UTC."],[],[],null,["# FirebaseVisionDocumentText.RecognizedBreak\n\npublic static class **FirebaseVisionDocumentText.RecognizedBreak** extends [Object](//developer.android.com/reference/java/lang/Object.html) \nDetected start or end of a structural component. \n\n### Nested Class Summary\n\n|------------|---|---|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| @interface | [FirebaseVisionDocumentText.RecognizedBreak.BreakType](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.RecognizedBreak.BreakType) || Detected start or end of a structural component type: [UNKNOWN](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.RecognizedBreak#UNKNOWN), [SPACE](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.RecognizedBreak#SPACE) [SURE_SPACE](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.RecognizedBreak#SURE_SPACE), [EOL_SURE_SPACE](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.RecognizedBreak#EOL_SURE_SPACE), [HYPHEN](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.RecognizedBreak#HYPHEN), [LINE_BREAK](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.RecognizedBreak#LINE_BREAK). |\n\n### Constant Summary\n\n|-----|--------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|\n| int | [EOL_SURE_SPACE](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.RecognizedBreak#EOL_SURE_SPACE) | Line-wrapping break. |\n| int | [HYPHEN](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.RecognizedBreak#HYPHEN) | End-line hyphen that is not present in text; does not co-occur with \\`SPACE\\`, \\`LEADER_SPACE\\`, or \\`LINE_BREAK\\`. |\n| int | [LINE_BREAK](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.RecognizedBreak#LINE_BREAK) | Line break that ends a paragraph. |\n| int | [SPACE](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.RecognizedBreak#SPACE) | Regular space. |\n| int | [SURE_SPACE](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.RecognizedBreak#SURE_SPACE) | Sure space (very wide). |\n| int | [UNKNOWN](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.RecognizedBreak#UNKNOWN) | Unknown break label type. |\n\n### Public Method Summary\n\n|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| int | [getDetectedBreakType](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.RecognizedBreak#getDetectedBreakType())() Gets detected break type. |\n| boolean | [getIsPrefix](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.RecognizedBreak#getIsPrefix())() Returns `true` if break prepends an element. |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nConstants\n---------\n\n#### public static final int\n**EOL_SURE_SPACE**\n\nLine-wrapping break. \nConstant Value: 3 \n\n#### public static final int\n**HYPHEN**\n\nEnd-line hyphen that is not present in text; does not co-occur with \\`SPACE\\`,\n\\`LEADER_SPACE\\`, or \\`LINE_BREAK\\`. \nConstant Value: 4 \n\n#### public static final int\n**LINE_BREAK**\n\nLine break that ends a paragraph. \nConstant Value: 5 \n\n#### public static final int\n**SPACE**\n\nRegular space. \nConstant Value: 1 \n\n#### public static final int\n**SURE_SPACE**\n\nSure space (very wide). \nConstant Value: 2 \n\n#### public static final int\n**UNKNOWN**\n\nUnknown break label type. \nConstant Value: 0\n\nPublic Methods\n--------------\n\n#### public int **getDetectedBreakType** ()\n\nGets detected break type. \n\n#### public boolean **getIsPrefix** ()\n\nReturns `true` if break prepends an element."]]