A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/android/reference/com/google/android/gms/appsearch/GetSchemaResponse below:

GetSchemaResponse | Google Play services

GetSchemaResponse

Stay organized with collections Save and categorize content based on your preferences.

The response class of AppSearchClient.getSchema(String)

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 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()

From interface android.os.Parcelable abstract int

describeContents()

abstract void writeToParcel

(

Parcel

arg0, int arg1)

Fields Public Methods public Map<StringPackageIdentifier> 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<StringSet<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}}.

public Set<String> getSchemaTypesNotDisplayedBySystem ()

Returns all the schema types that are opted out of being displayed and visible on any system UI surface.

public Map<StringSet<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