Share via


MediaBrowser.Subscribe Method

Definition

Overloads

Subscribe(String, MediaBrowser+SubscriptionCallback)

Queries for information about the media items that are contained within the specified id and subscribes to receive updates when they change.

Subscribe(String, Bundle, MediaBrowser+SubscriptionCallback)

Queries for information about the media items that are contained within the specified id and subscribes to receive updates when they change.

Subscribe(String, MediaBrowser+SubscriptionCallback)

Queries for information about the media items that are contained within the specified id and subscribes to receive updates when they change.

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

Parameters

parentId
String

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

callback
MediaBrowser.SubscriptionCallback

The callback to receive the list of children.

Attributes

Remarks

Java documentation for android.media.browse.MediaBrowser.subscribe(java.lang.String, android.media.browse.SubscriptionCallback).

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

Subscribe(String, Bundle, MediaBrowser+SubscriptionCallback)

Queries for information about the media items that are contained within the specified id and subscribes to receive updates when they change.

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

Parameters

parentId
String

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

options
Bundle
callback
MediaBrowser.SubscriptionCallback

The callback to receive the list of children.

Attributes

Remarks

Java documentation for android.media.browse.MediaBrowser.subscribe(java.lang.String, android.media.browse.SubscriptionCallback).

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