Stay organized with collections Save and categorize content based on your preferences.
The AppSearch Schema for a particular type of document.
For example, an e-mail message or a music recording could be a schema type.
The schema consists of type information, properties, and config (like tokenization type).
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 boolean equals (Object other) public String getDescription ()Returns a natural language description of this schema type.
Ex. The description for an Email type could be "A type of electronic message".
This information is purely to help apps consuming this type to understand its semantic meaning. This field has no effect in AppSearch - it is just stored with the AppSearchSchema. If AppSearchSchema.Builder.setDescription(String)
is uncalled, then this method will return an empty string.
Returns the list of parent types of this schema for polymorphism.
public String getSchemaType ()Returns the name of this schema type, such as Email.
public void writeToParcel (Parcel dest, int flags)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."],[[["`AppSearchSchema` defines the structure and properties for a specific type of document in AppSearch, like an email or music recording."],["It includes information like type, properties, and configuration details such as tokenization type."],["Schemas support polymorphism through parent types and contain a list of `PropertyConfig` objects defining individual properties within the document."],["You can access schema details such as schema type, description, properties, and parent types using methods like `getSchemaType()`, `getDescription()`, `getProperties()`, and `getParentTypes()`."],["`AppSearchSchema` is parcelable, meaning it can be passed between components or processes."]]],[]]
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