PlaybackState.Builder.SetActiveQueueItemId(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the active item in the play queue by specifying its id.
[Android.Runtime.Register("setActiveQueueItemId", "(J)Landroid/media/session/PlaybackState$Builder;", "")]
public Android.Media.Session.PlaybackState.Builder SetActiveQueueItemId(long id);
[<Android.Runtime.Register("setActiveQueueItemId", "(J)Landroid/media/session/PlaybackState$Builder;", "")>]
member this.SetActiveQueueItemId : int64 -> Android.Media.Session.PlaybackState.Builder
Parameters
- id
- Int64
The id of the active item.
Returns
this
- Attributes
Remarks
Set the active item in the play queue by specifying its id. The default value is MediaSession.QueueItem.UNKNOWN_ID
Android reference for android.media.session.PlaybackState.Builder.setActiveQueueItemId.
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.