Language

MediaPlayerSeekMode Enum

Definition

public enum MediaPlayerSeekMode
type MediaPlayerSeekMode = 
Inheritance
MediaPlayerSeekMode

Fields

Name Value Description
PreviousSync 0

This mode is used with seekTo(long, int) to move media position to a sync (or key) frame associated with a data source that is located right before or at the given time.

Android reference for android.media.MediaPlayer.SEEK_PREVIOUS_SYNC.

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.

NextSync 1

This mode is used with seekTo(long, int) to move media position to a sync (or key) frame associated with a data source that is located right after or at the given time.

Android reference for android.media.MediaPlayer.SEEK_NEXT_SYNC.

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.

ClosestSync 2

This mode is used with seekTo(long, int) to move media position to a sync (or key) frame associated with a data source that is located closest to (in time) or at the given time.

Android reference for android.media.MediaPlayer.SEEK_CLOSEST_SYNC.

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.

Closest 3

This mode is used with seekTo(long, int) to move media position to a frame (not necessarily a key frame) associated with a data source that is located closest to or at the given time.

Android reference for android.media.MediaPlayer.SEEK_CLOSEST.

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.

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