Freigeben über


MediaBrowserService.BrowserRoot.ExtraSuggested Field

Definition

The lookup key for a boolean that indicates whether the browser service should return a browser root for suggested media items.

[Android.Runtime.Register("EXTRA_SUGGESTED", ApiSince=24)]
public const string ExtraSuggested;
[<Android.Runtime.Register("EXTRA_SUGGESTED", ApiSince=24)>]
val mutable ExtraSuggested : string

Field Value

Attributes

Remarks

The lookup key for a boolean that indicates whether the browser service should return a browser root for suggested media items.

When creating a media browser for a given media browser service, this key can be supplied as a root hint for retrieving the media items suggested by the media browser service. The list of media items passed in android.media.browse.MediaBrowser.SubscriptionCallback#onChildrenLoaded(String, List) is considered ordered by relevance, first being the top suggestion. If the media browser service can provide such media items, the implementation must return the key in the root hint when #onGetRoot(String, int, Bundle) is called back.

The root hint may contain multiple keys.

Java documentation for android.service.media.MediaBrowserService.BrowserRoot.EXTRA_SUGGESTED.

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