Udostępnij za pośrednictwem


PlaybackState.ActiveQueueItemId Property

Definition

Get the id of the currently active item in the queue.

public long ActiveQueueItemId { [Android.Runtime.Register("getActiveQueueItemId", "()J", "")] get; }
[<get: Android.Runtime.Register("getActiveQueueItemId", "()J", "")>]
member this.ActiveQueueItemId : int64

Property Value

The id of the currently active item in the queue or MediaSession.QueueItem#UNKNOWN_ID.

Attributes

Remarks

Get the id of the currently active item in the queue. If there is no queue or a queue is not supported by the session this will be MediaSession.QueueItem#UNKNOWN_ID.

Java documentation for android.media.session.PlaybackState.getActiveQueueItemId().

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