MediaBrowserService.NotifyChildrenChanged Method

Definition

Overloads

NotifyChildrenChanged(String)

Notifies all connected media browsers that the children of the specified parent id have changed in some way.

NotifyChildrenChanged(String, Bundle)

Notifies all connected media browsers that the children of the specified parent id have changed in some way.

NotifyChildrenChanged(String)

Notifies all connected media browsers that the children of the specified parent id have changed in some way.

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

Parameters

parentId
String

The id of the parent media item whose children changed.

Attributes

Remarks

Notifies all connected media browsers that the children of the specified parent id have changed in some way. This will cause browsers to fetch subscribed content again.

Java documentation for android.service.media.MediaBrowserService.notifyChildrenChanged(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

NotifyChildrenChanged(String, Bundle)

Notifies all connected media browsers that the children of the specified parent id have changed in some way.

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

Parameters

parentId
String

The id of the parent media item whose children changed.

options
Bundle

The bundle of service-specific arguments to send to the media browser. The contents of this bundle may contain the information about the change.

Attributes

Remarks

Notifies all connected media browsers that the children of the specified parent id have changed in some way. This will cause browsers to fetch subscribed content again.

Java documentation for android.service.media.MediaBrowserService.notifyChildrenChanged(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