java.lang.Object | |
↳ | android.support.v7.media.MediaItemStatus.Builder |
Builder for
media item status objects
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Creates a media item status builder using the current time as the
reference timestamp.
|
||||||||||
|
Creates a media item status builder whose initial contents are
copied from an existing status.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Builds the
media item status object
.
|
||||||||||
|
Sets the total duration of the content to be played as a long integer number
of milliseconds.
|
||||||||||
|
Sets the content playback position as a long integer number of milliseconds
from the beginning of the content.
|
||||||||||
|
Sets a bundle of extras for this status object.
|
||||||||||
|
Sets the playback state of the media item.
|
||||||||||
|
Sets the timestamp associated with the status information in
milliseconds since boot in the
elapsedRealtime()
time base.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Creates a media item status builder using the current time as the reference timestamp.
playbackState | The item playback state. |
---|
Creates a media item status builder whose initial contents are copied from an existing status.
Sets the total duration of the content to be played as a long integer number of milliseconds.
Sets the content playback position as a long integer number of milliseconds from the beginning of the content.
Sets a bundle of extras for this status object. The extras will be ignored by the media router but they may be used by applications.
Sets the playback state of the media item.
Sets the timestamp associated with the status information in
milliseconds since boot in the
elapsedRealtime()
time base.