Partager via


PlaybackState.Builder Constructors

Definition

Overloads

PlaybackState.Builder()

Creates an initially empty state builder.

PlaybackState.Builder(PlaybackState)

Creates a builder with the same initial values as those in the from state.

PlaybackState.Builder()

Creates an initially empty state builder.

[Android.Runtime.Register(".ctor", "()V", "")]
public Builder ();
Attributes

Remarks

Creates an initially empty state builder.

Java documentation for android.media.session.PlaybackState.Builder.PlaybackState$Builder().

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

PlaybackState.Builder(PlaybackState)

Creates a builder with the same initial values as those in the from state.

[Android.Runtime.Register(".ctor", "(Landroid/media/session/PlaybackState;)V", "")]
public Builder (Android.Media.Session.PlaybackState from);
[<Android.Runtime.Register(".ctor", "(Landroid/media/session/PlaybackState;)V", "")>]
new Android.Media.Session.PlaybackState.Builder : Android.Media.Session.PlaybackState -> Android.Media.Session.PlaybackState.Builder

Parameters

from
PlaybackState

The state to use for initializing the builder.

Attributes

Remarks

Creates a builder with the same initial values as those in the from state.

Java documentation for android.media.session.PlaybackState.Builder.PlaybackState$Builder(android.media.session.PlaybackState).

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