SeekRequestData.SeekResumeState

  • SeekResumeState is an enum for the action to take after a seek operation.

  • The available states are PLAYBACK_PAUSE, PLAYBACK_START, and PLAYBACK_UNCHANGED.

  • PLAYBACK_PAUSE indicates the player should be paused after seeking.

  • PLAYBACK_START indicates the player should resume playing after seeking.

  • PLAYBACK_UNCHANGED indicates the player's state should not change after seeking.

public static abstract @interface SeekRequestData.SeekResumeState implements Annotation

The state enum for the action to take after the seek operation has finished.

Constant Summary

int PLAYBACK_PAUSE A resume state indicating that the player should be paused, regardless of its current state.
int PLAYBACK_START A resume state indicating that the player should be playing, regardless of its current state.
int PLAYBACK_UNCHANGED A resume state indicating that the player should not be changed.

Inherited Method Summary

Constants

public static final int PLAYBACK_PAUSE

A resume state indicating that the player should be paused, regardless of its current state.

Constant Value: 2

public static final int PLAYBACK_START

A resume state indicating that the player should be playing, regardless of its current state.

Constant Value: 1

public static final int PLAYBACK_UNCHANGED

A resume state indicating that the player should not be changed.

Constant Value: 0