Udostępnij za pośrednictwem


MediaSession.QueueItem(MediaDescription, Int64) Constructor

Definition

Create a new MediaSession.QueueItem.

[Android.Runtime.Register(".ctor", "(Landroid/media/MediaDescription;J)V", "")]
public QueueItem (Android.Media.MediaDescription? description, long id);
[<Android.Runtime.Register(".ctor", "(Landroid/media/MediaDescription;J)V", "")>]
new Android.Media.Session.MediaSession.QueueItem : Android.Media.MediaDescription * int64 -> Android.Media.Session.MediaSession.QueueItem

Parameters

description
MediaDescription

The MediaDescription for this item.

id
Int64

An identifier for this item. It must be unique within the play queue and cannot be #UNKNOWN_ID.

Attributes

Remarks

Create a new MediaSession.QueueItem.

Java documentation for android.media.session.MediaSession.QueueItem.MediaSession$QueueItem(android.media.MediaDescription, long).

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