Language

EmbeddedPhotoPickerFeatureInfo.Builder.SetHighlightSearchMediaTextQuery Method

Definition

The app can choose to highlight media items in the embedded photopicker in its expanded state.

[Android.Runtime.Register("setHighlightSearchMediaTextQuery", "(Ljava/lang/String;)Landroid/widget/photopicker/EmbeddedPhotoPickerFeatureInfo$Builder;", "", ApiSince=36)]
public Android.Widget.PhotoPicker.EmbeddedPhotoPickerFeatureInfo.Builder SetHighlightSearchMediaTextQuery(string highlightSearchMediaTextQuery);
[<Android.Runtime.Register("setHighlightSearchMediaTextQuery", "(Ljava/lang/String;)Landroid/widget/photopicker/EmbeddedPhotoPickerFeatureInfo$Builder;", "", ApiSince=36)>]
member this.SetHighlightSearchMediaTextQuery : string -> Android.Widget.PhotoPicker.EmbeddedPhotoPickerFeatureInfo.Builder

Parameters

highlightSearchMediaTextQuery
String

A String param based on which the highlighted results shown. This value cannot be null.

Returns

This builder with the search highlight query updated.

Attributes

Remarks

The app can choose to highlight media items in the embedded photopicker in its expanded state. The media items in this highlighted section are based on the string input query set in this method. The photopicker will trigger a search based on this input value to show media results in this section.This can be any string literal for which the app wants to highlight media results.

Android reference for android.widget.photopicker.EmbeddedPhotoPickerFeatureInfo.Builder.setHighlightSearchMediaTextQuery.

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