AppSearchSession.SetBlobVisibility Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the visibility configuration for all blob namespaces within an appsearch database.
[Android.Runtime.Register("setBlobVisibility", "(Landroid/app/appsearch/SetBlobVisibilityRequest;Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "", ApiSince=36)]
public void SetBlobVisibility(Android.App.AppSearch.SetBlobVisibilityRequest request, Java.Util.Concurrent.IExecutor executor, Java.Util.Functions.IConsumer callback);
[<Android.Runtime.Register("setBlobVisibility", "(Landroid/app/appsearch/SetBlobVisibilityRequest;Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "", ApiSince=36)>]
member this.SetBlobVisibility : Android.App.AppSearch.SetBlobVisibilityRequest * Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit
Parameters
- request
- SetBlobVisibilityRequest
The request holds visibility settings for all blob namespaces
- executor
- IExecutor
Executor on which to invoke the callback.
- callback
- IConsumer
Callback to receive the pending result of performing this operation which
resolves to null
on success.
- Attributes
Remarks
Sets the visibility configuration for all blob namespaces within an appsearch database.
Blobs under the same namespace will share same visibility settings.
The default setting is blobs will be only visible to the owner package and System. To configure other kinds of sharing, set SchemaVisibilityConfig
via SetBlobVisibilityRequest
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.