[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2020-08-08 UTC."],[],[],null,["# FirebaseVisionDocumentText\n\npublic class **FirebaseVisionDocumentText** extends [Object](//developer.android.com/reference/java/lang/Object.html) \nRepresents detected text by [FirebaseVisionDocumentTextRecognizer](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentTextRecognizer). \n\n### Nested Class Summary\n\n|-------|---|---|----------------------------------------------------------------------------|\n| class | [FirebaseVisionDocumentText.Block](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.Block) || A logical element on the page. |\n| class | [FirebaseVisionDocumentText.Paragraph](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.Paragraph) || A structural unit of text representing a number of words in certain order. |\n| class | [FirebaseVisionDocumentText.RecognizedBreak](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.RecognizedBreak) || Detected start or end of a structural component. |\n| class | [FirebaseVisionDocumentText.Symbol](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.Symbol) || A single symbol representation. |\n| class | [FirebaseVisionDocumentText.Word](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.Word) || A single word representation. |\n\n### Public Method Summary\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [List](//developer.android.com/reference/java/util/List.html)\\\u003c[FirebaseVisionDocumentText.Block](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.Block)\\\u003e | [getBlocks](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText#getBlocks())() Gets the [List](//developer.android.com/reference/java/util/List.html) of [FirebaseVisionDocumentText.Block](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.Block)s. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [getText](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText#getText())() Gets the detected text. |\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\nPublic Methods\n--------------\n\n#### public [List](//developer.android.com/reference/java/util/List.html)\\\u003c[FirebaseVisionDocumentText.Block](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.Block)\\\u003e\n**getBlocks** ()\n\nGets the [List](//developer.android.com/reference/java/util/List.html) of\n[FirebaseVisionDocumentText.Block](/docs/reference/android/com/google/firebase/ml/vision/document/FirebaseVisionDocumentText.Block)s. \n\n#### public [String](//developer.android.com/reference/java/lang/String.html) **getText** ()\n\nGets the detected text. Returns empty string if nothing is found."]]