PlaybackState.Builder.SetState 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.
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
- state
- PlaybackStateCode
- 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
- state
- PlaybackStateCode
- 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.