Compartilhar via


MediaBrowserService.OnLoadItem(String, MediaBrowserService+Result) Method

Definition

Called to get information about a specific media item.

[Android.Runtime.Register("onLoadItem", "(Ljava/lang/String;Landroid/service/media/MediaBrowserService$Result;)V", "GetOnLoadItem_Ljava_lang_String_Landroid_service_media_MediaBrowserService_Result_Handler", ApiSince=23)]
public virtual void OnLoadItem (string? itemId, Android.Service.Media.MediaBrowserService.Result? result);
[<Android.Runtime.Register("onLoadItem", "(Ljava/lang/String;Landroid/service/media/MediaBrowserService$Result;)V", "GetOnLoadItem_Ljava_lang_String_Landroid_service_media_MediaBrowserService_Result_Handler", ApiSince=23)>]
abstract member OnLoadItem : string * Android.Service.Media.MediaBrowserService.Result -> unit
override this.OnLoadItem : string * Android.Service.Media.MediaBrowserService.Result -> unit

Parameters

itemId
String

The id for the specific android.media.browse.MediaBrowser.MediaItem.

result
MediaBrowserService.Result

The Result to send the item to.

Attributes

Remarks

Java documentation for android.service.media.MediaBrowserService.onLoadItem(java.lang.String, android.service.media.Result).

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