Partager via


MediaBrowser.Unsubscribe Method

Definition

Overloads

Unsubscribe(String)

Unsubscribes for changes to the children of the specified media id.

Unsubscribe(String, MediaBrowser+SubscriptionCallback)

Unsubscribes for changes to the children of the specified media id.

Unsubscribe(String)

Unsubscribes for changes to the children of the specified media id.

[Android.Runtime.Register("unsubscribe", "(Ljava/lang/String;)V", "")]
public void Unsubscribe (string parentId);
[<Android.Runtime.Register("unsubscribe", "(Ljava/lang/String;)V", "")>]
member this.Unsubscribe : string -> unit

Parameters

parentId
String

The id of the parent media item whose list of children will be unsubscribed.

Attributes

Remarks

Unsubscribes for changes to the children of the specified media id.

The query callback will no longer be invoked for results associated with this id once this method returns.

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

Unsubscribe(String, MediaBrowser+SubscriptionCallback)

Unsubscribes for changes to the children of the specified media id.

[Android.Runtime.Register("unsubscribe", "(Ljava/lang/String;Landroid/media/browse/MediaBrowser$SubscriptionCallback;)V", "", ApiSince=24)]
public void Unsubscribe (string parentId, Android.Media.Browse.MediaBrowser.SubscriptionCallback callback);
[<Android.Runtime.Register("unsubscribe", "(Ljava/lang/String;Landroid/media/browse/MediaBrowser$SubscriptionCallback;)V", "", ApiSince=24)>]
member this.Unsubscribe : string * Android.Media.Browse.MediaBrowser.SubscriptionCallback -> unit

Parameters

parentId
String

The id of the parent media item whose list of children will be unsubscribed.

Attributes

Remarks

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