SetSchemaRequest.Builder.SetSchemaTypeDisplayedBySystem 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 whether documents of the given schema type can be displayed on system UI surfaces.
[Android.Runtime.Register("setSchemaTypeDisplayedBySystem", "(Ljava/lang/String;Z)Landroid/app/appsearch/SetSchemaRequest$Builder;", "", ApiSince=31)]
public Android.App.AppSearch.SetSchemaRequest.Builder SetSchemaTypeDisplayedBySystem(string schemaType, bool displayed);
[<Android.Runtime.Register("setSchemaTypeDisplayedBySystem", "(Ljava/lang/String;Z)Landroid/app/appsearch/SetSchemaRequest$Builder;", "", ApiSince=31)>]
member this.SetSchemaTypeDisplayedBySystem : string * bool -> Android.App.AppSearch.SetSchemaRequest.Builder
Parameters
- schemaType
- String
The name of an AppSearchSchema within the same SetSchemaRequest, which will be configured. This value cannot be null.
- displayed
- Boolean
Whether documents of this type can be displayed on system UI surfaces.
Returns
This builder instance.
- Attributes
Remarks
Sets whether documents of the given schema type can be displayed on system UI surfaces. This setting applies to the provided schemaType only, and does not persist across SetSchema(SetSchemaRequest, IExecutor, IExecutor, IConsumer) calls. The default behavior, if this method is not called, is to allow types to be displayed on system UI surfaces.
Android reference for android.app.appsearch.SetSchemaRequest.Builder.setSchemaTypeDisplayedBySystem.
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.