Stay organized with collections Save and categorize content based on your preferences.
The response class of AppSearchClient.getSchema(String)
clone()
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 Map<String, PackageIdentifier> getPubliclyVisibleSchemas ()Returns a mapping of publicly visible schemas to the PackageIdentifier
specifying the package the schemas are from.
If no schemas have been set as publicly visible, an empty set will be returned.
public Map<String, Set<Set<Integer>>> getRequiredPermissionsForSchemaTypeVisibility ()Returns a mapping of schema types to the set of Manifest.permission
combination sets that querier must hold to access that schema type.
The querier could read the GenericDocument
objects under the schemaType
if they holds ALL required permissions of ANY of the individual value sets.
For example, if the Map contains {{permissionA, PermissionB}, { PermissionC, PermissionD}, {PermissionE}}
.
Returns all the schema types that are opted out of being displayed and visible on any system UI surface.
public Map<String, Set<PackageIdentifier>> getSchemaTypesVisibleToPackages ()Returns a mapping of schema types to the set of packages that have access to that schema type.
public int getVersion ()Returns the overall database schema version.
If the database is empty, 0 will be returned.
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."],[[["`GetSchemaResponse` is the response class for `AppSearchClient.getSchema()` and provides information about the schema of an AppSearch database."],["It includes details such as the database schema version, the set of schemas in the database, and schema visibility configurations."],["The response also contains information about schema types visible to specific packages and configurations, including those required permissions for schema type visibility, as well as schemas that are not displayed by the system."],["Developers can utilize this class to retrieve and understand the structure and visibility of data within an AppSearch database."]]],["`GetSchemaResponse` retrieves schema information from `AppSearchClient`. Key actions include: mapping publicly visible schemas to their packages via `getPubliclyVisibleSchemas`; detailing required permissions for schema access with `getRequiredPermissionsForSchemaTypeVisibility`; listing schemas not displayed by the system via `getSchemaTypesNotDisplayedBySystem`; identifying schema types visible to specific configurations with `getSchemaTypesVisibleToConfigs`, or to specific packages with `getSchemaTypesVisibleToPackages`; and getting all the schemas with `getSchemas`. The current database schema version is accessed with `getVersion`. `writeToParcel` provides writing data to a `Parcel`.\n"]]
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