Android.Service.Media.MediaBrowserService.OnGetRoot Method
Called to get the root information for browsing by a particular client.

Syntax

[Android.Runtime.Register("onGetRoot", "(Ljava/lang/String;ILandroid/os/Bundle;)Landroid/service/media/MediaBrowserService$BrowserRoot;", "GetOnGetRoot_Ljava_lang_String_ILandroid_os_Bundle_Handler")]
public abstract MediaBrowserService.BrowserRoot OnGetRoot (string clientPackageName, int clientUid, Android.OS.Bundle rootHints)

Parameters

clientPackageName
The package name of the application which is requesting access to browse media.
clientUid
The uid of the application which is requesting access to browse media.
rootHints
An optional bundle of service-specific arguments to send to the media browse service when connecting and retrieving the root id for browsing, or null if none. The contents of this bundle may affect the information returned when browsing.

Returns

Documentation for this section has not yet been entered.

Remarks

Called to get the root information for browsing by a particular client.

The implementation should verify that the client package has permission to access browse media information before returning the root id; it should return null if the client is not allowed to access this information.

[Android Documentation]

Requirements

Namespace: Android.Service.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0