SetBlobVisibilityRequest.Builder.SetNamespaceDisplayedBySystem Method

Definition

Sets whether or not blobs in the specified namespace will be displayed on any system UI surface.

[Android.Runtime.Register("setNamespaceDisplayedBySystem", "(Ljava/lang/String;Z)Landroid/app/appsearch/SetBlobVisibilityRequest$Builder;", "", ApiSince=36)]
public Android.App.AppSearch.SetBlobVisibilityRequest.Builder SetNamespaceDisplayedBySystem(string namespace, bool displayed);
[<Android.Runtime.Register("setNamespaceDisplayedBySystem", "(Ljava/lang/String;Z)Landroid/app/appsearch/SetBlobVisibilityRequest$Builder;", "", ApiSince=36)>]
member this.SetNamespaceDisplayedBySystem : string * bool -> Android.App.AppSearch.SetBlobVisibilityRequest.Builder

Parameters

namespace
String

The name of the namespace to configure visibility for. This value cannot be null.

displayed
Boolean

If false, blobs in this namespace will not appear on system UI surfaces.

Returns

Attributes

Remarks

Sets whether or not blobs in the specified namespace will be displayed on any system UI surface. This setting applies to the provided namespace only; all other namespaces that are not included here will be reverted to the default displayed setting. If this method is not called, the default behavior allows blobs to be displayed on system UI surfaces.

Android reference for android.app.appsearch.SetBlobVisibilityRequest.Builder.setNamespaceDisplayedBySystem.

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.

Applies to