Stay organized with collections Save and categorize content based on your preferences.
This class represents one of the results obtained from an AppSearch query.
This allows clients to obtain:
getGenericDocument()
getMatchInfos()
"Snippet" refers to a substring of text from the content of document that is returned as a part of search result.
Nested Class Summary Inherited Constant Summary From interface android.os.Parcelable int CONTENTS_FILE_DESCRIPTOR int PARCELABLE_WRITE_RETURN_VALUE Field Summary Public Method Summary Inherited Method Summary From class java.lang.Object Objectclone()
boolean voidfinalize()
final Class<?>getClass()
inthashCode()
final voidnotify()
final voidnotifyAll()
StringtoString()
final voidwait(long arg0, int arg1)
final voidwait(long arg0)
final voidwait()
From interface android.os.Parcelable abstract intdescribeContents()
abstract void writeToParcel(
Parcelarg0, int arg1)
Fields Public Methods public String getDatabaseName ()Contains the database name that stored the GenericDocument
.
Contains the package name of the app that stored the GenericDocument
.
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 2024-10-31 UTC.
[[["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 2024-10-31 UTC."],[[["`SearchResult` represents a single result from an AppSearch query, providing access to the matching document and information about the match."],["It allows retrieval of the matched document, details on matched properties, and textual summaries (\"snippets\") of the matches."],["Developers can access the database and package name associated with the document, along with its ranking signal."],["`SearchResult` includes nested classes for building results, representing match information, and defining match ranges within the document."],["It implements `Parcelable` for efficient data transfer between components."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4