Udostępnij za pośrednictwem


MediaController.Callback.OnQueueChanged Method

Definition

Override to handle changes to items in the queue.

[Android.Runtime.Register("onQueueChanged", "(Ljava/util/List;)V", "GetOnQueueChanged_Ljava_util_List_Handler")]
public virtual void OnQueueChanged (System.Collections.Generic.IList<Android.Media.Session.MediaSession.QueueItem>? queue);
[<Android.Runtime.Register("onQueueChanged", "(Ljava/util/List;)V", "GetOnQueueChanged_Ljava_util_List_Handler")>]
abstract member OnQueueChanged : System.Collections.Generic.IList<Android.Media.Session.MediaSession.QueueItem> -> unit
override this.OnQueueChanged : System.Collections.Generic.IList<Android.Media.Session.MediaSession.QueueItem> -> unit

Parameters

queue
IList<MediaSession.QueueItem>

A list of items in the current play queue. It should include the currently playing item as well as previous and upcoming items if applicable.

Attributes

Remarks

Override to handle changes to items in the queue.

Java documentation for android.media.session.MediaController.Callback.onQueueChanged(java.util.List<android.media.session.MediaSession.QueueItem>).

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