Dela via


MediaBrowserService.BrowserRoot.ExtraRecent Field

Definition

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

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

Field Value

Attributes

Remarks

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

When creating a media browser for a given media browser service, this key can be supplied as a root hint for retrieving media items that are recently played. 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_RECENT.

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