SetBlobVisibilityRequest
public
class
SetBlobVisibilityRequest
extends Object
java.lang.Object | |
↳ | android.app.appsearch.SetBlobVisibilityRequest |
Request to configure the visibility settings of blobs in AppSearch.
Used with AppSearchSession.setBlobVisibility
to specify visibility and display
properties for blob namespaces. You can control which blob namespaces are displayed on system UI
surfaces and which are accessible based on specific visibility configurations.
Summary
Nested classes | |
---|---|
class |
SetBlobVisibilityRequest.Builder
Builder for |
Public methods | |
---|---|
Set<String>
|
getNamespacesNotDisplayedBySystem()
Returns all the blob namespaces that are opted out of being displayed and visible on any system UI surface. |
Map<String, Set<SchemaVisibilityConfig>>
|
getNamespacesVisibleToConfigs()
Returns a mapping of blob namespaces to the set of |
Inherited methods | |
---|---|
Public methods
getNamespacesNotDisplayedBySystem
public Set<String> getNamespacesNotDisplayedBySystem ()
Returns all the blob namespaces that are opted out of being displayed and visible on any system UI surface.
Returns | |
---|---|
Set<String> |
This value cannot be null . |
getNamespacesVisibleToConfigs
public Map<String, Set<SchemaVisibilityConfig>> getNamespacesVisibleToConfigs ()
Returns a mapping of blob namespaces to the set of SchemaVisibilityConfig
s that have
access to that namespace.
All conditions in a single SchemaVisibilityConfig
are "AND" relationship. A caller
must match all conditions to have the access. All SchemaVisibilityConfig
s in the set
of a blob namespace are "OR" relationship. A caller could have access if they matches any
SchemaVisibilityConfig
in the set.
This method provides the set of SchemaVisibilityConfig
for all blob namespaces.
Returns | |
---|---|
Map<String, Set<SchemaVisibilityConfig>> |
This value cannot be null . |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-01-23 UTC.