MediaBrowser.SubscriptionCallback.OnError Method

Definition

Overloads

OnError(String)

Called when the id doesn't exist or other errors in subscribing.

OnError(String, Bundle)

Called when the id doesn't exist or other errors in subscribing.

OnError(String)

Called when the id doesn't exist or other errors in subscribing.

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

Parameters

parentId
String

The media id of the parent media item whose children could not be loaded.

Attributes

Remarks

Called when the id doesn't exist or other errors in subscribing.

If this is called, the subscription remains until MediaBrowser#unsubscribe called, because some errors may heal themselves.

Java documentation for android.media.browse.MediaBrowser.SubscriptionCallback.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

OnError(String, Bundle)

Called when the id doesn't exist or other errors in subscribing.

[Android.Runtime.Register("onError", "(Ljava/lang/String;Landroid/os/Bundle;)V", "GetOnError_Ljava_lang_String_Landroid_os_Bundle_Handler", ApiSince=24)]
public virtual void OnError (string parentId, Android.OS.Bundle options);
[<Android.Runtime.Register("onError", "(Ljava/lang/String;Landroid/os/Bundle;)V", "GetOnError_Ljava_lang_String_Landroid_os_Bundle_Handler", ApiSince=24)>]
abstract member OnError : string * Android.OS.Bundle -> unit
override this.OnError : string * Android.OS.Bundle -> unit

Parameters

parentId
String

The media id of the parent media item whose children could not be loaded.

options
Bundle

The bundle of service-specific arguments sent to the media browser service.

Attributes

Remarks

Called when the id doesn't exist or other errors in subscribing.

If this is called, the subscription remains until MediaBrowser#unsubscribe called, because some errors may heal themselves.

Java documentation for android.media.browse.MediaBrowser.SubscriptionCallback.onError(java.lang.String, android.os.Bundle).

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