28 #ifndef NATIVE_PLAYER_INC_PLAYER_PLAYER_CONROLLER_H_ 29 #define NATIVE_PLAYER_INC_PLAYER_PLAYER_CONROLLER_H_ 34 #include "nacl_player/media_common.h" 73 virtual void Play() = 0;
76 virtual void Pause() = 0;
82 virtual void Seek(Samsung::NaClPlayer::TimeTicks to_time) = 0;
95 virtual void SetViewRect(
const Samsung::NaClPlayer::Rect& view_rect) = 0;
115 #endif // NATIVE_PLAYER_INC_PLAYER_PLAYER_CONROLLER_H_
virtual void PostTextTrackInfo()=0
PlayerController()
Creates a PlayerController object.
In this state PlayerController is ready to use.
virtual PlayerState GetState()=0
It is a definition of the player controlling interface.
virtual void Pause()=0
Orders the player to pause playback of the content.
virtual void ChangeSubtitleVisibility()=0
Orders the player to start or stop generating events related to subtitles.
virtual void ChangeSubtitles(int32_t id)=0
virtual void Play()=0
Orders the player to start/resume playback of the loaded content.
virtual void Seek(Samsung::NaClPlayer::TimeTicks to_time)=0
virtual void ChangeRepresentation(StreamType stream_type, int32_t id)=0
In this state PlayerController plays the content.
virtual void SetViewRect(const Samsung::NaClPlayer::Rect &view_rect)=0
virtual ~PlayerController()
Destroys the PlayerController object.