NUGU SDK Linux  1.7.6
MediaPlayerInterface

Media Player Interface. More...

+ Collaboration diagram for MediaPlayerInterface:

Classes

class  NuguClientKit::IMediaPlayer
 mediaplayer interface More...
 
class  NuguClientKit::IMediaPlayerListener
 mediaplayer listener interface More...
 
class  NuguClientKit::ITTSPlayer
 ttsplayer interface More...
 

Enumerations

enum class  NuguClientKit::MediaPlayerEvent {
  INVALID_MEDIA_URL , LOADING_MEDIA_FAILED , LOADING_MEDIA_SUCCESS , PLAYING_MEDIA_FINISHED ,
  PLAYING_MEDIA_UNDERRUN
}
 MediaPlayerEvent. More...
 
enum class  NuguClientKit::MediaPlayerState {
  IDLE , PREPARE , READY , PLAYING ,
  PAUSED , STOPPED
}
 MediaPlayerState. More...
 

Detailed Description

Media Player Interface.

Playback media content and receive content information through the media player interface.

Enumeration Type Documentation

◆ MediaPlayerState

MediaPlayerState.

Enumerator
IDLE 

Status idle in mediaplayer

PREPARE 

Status prepare to play in mediaplayer

READY 

Status ready to load playurl in mediaplayer

PLAYING 

Status playing in mediaplayer

PAUSED 

Status paused in mediaplayer

STOPPED 

Status stopped in mediaplayer

◆ MediaPlayerEvent

MediaPlayerEvent.

Enumerator
INVALID_MEDIA_URL 

Invalid media content url

LOADING_MEDIA_FAILED 

Loading of media content failed

LOADING_MEDIA_SUCCESS 

Loading of media content success

PLAYING_MEDIA_FINISHED 

Playing media content to the end

PLAYING_MEDIA_UNDERRUN 

Playing media content underrun