Share via


PlaybackState.Builder.SetState Method

Definition

Overloads

SetState(PlaybackStateCode, Int64, Single)
SetState(PlaybackStateCode, Int64, Single, Int64)

SetState(PlaybackStateCode, Int64, Single)

[Android.Runtime.Register("setState", "(IJF)Landroid/media/session/PlaybackState$Builder;", "")]
public Android.Media.Session.PlaybackState.Builder SetState (Android.Media.Session.PlaybackStateCode state, long position, float playbackSpeed);
[<Android.Runtime.Register("setState", "(IJF)Landroid/media/session/PlaybackState$Builder;", "")>]
member this.SetState : Android.Media.Session.PlaybackStateCode * int64 * single -> Android.Media.Session.PlaybackState.Builder

Parameters

position
Int64
playbackSpeed
Single

Returns

Attributes

Remarks

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

SetState(PlaybackStateCode, Int64, Single, Int64)

[Android.Runtime.Register("setState", "(IJFJ)Landroid/media/session/PlaybackState$Builder;", "")]
public Android.Media.Session.PlaybackState.Builder SetState (Android.Media.Session.PlaybackStateCode state, long position, float playbackSpeed, long updateTime);
[<Android.Runtime.Register("setState", "(IJFJ)Landroid/media/session/PlaybackState$Builder;", "")>]
member this.SetState : Android.Media.Session.PlaybackStateCode * int64 * single * int64 -> Android.Media.Session.PlaybackState.Builder

Parameters

position
Int64
playbackSpeed
Single
updateTime
Int64

Returns

Attributes

Remarks

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