Compartir a través de


MediaBrowser.ItemCallback.OnError(String) Method

Definition

Called there was an error retrieving it or the connected service doesn't support #getItem.

[Android.Runtime.Register("onError", "(Ljava/lang/String;)V", "GetOnError_Ljava_lang_String_Handler", ApiSince=23)]
public virtual void OnError (string mediaId);
[<Android.Runtime.Register("onError", "(Ljava/lang/String;)V", "GetOnError_Ljava_lang_String_Handler", ApiSince=23)>]
abstract member OnError : string -> unit
override this.OnError : string -> unit

Parameters

mediaId
String

The media id of the media item which could not be loaded.

Attributes

Remarks

Called there was an error retrieving it or the connected service doesn't support #getItem.

Java documentation for android.media.browse.MediaBrowser.ItemCallback.onError(java.lang.String).

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