NUGU SDK Linux  1.7.6
NuguClientKit::IMediaPlayerListener Class Referenceabstract

mediaplayer listener interface More...

#include <media_player_interface.hh>

Public Member Functions

virtual void durationChanged (int duration)=0
 The media player reports the changed duration of the media content. More...
 
virtual void mediaChanged (const std::string &url)=0
 The media player reports that the media content has changed. More...
 
virtual void mediaEventReport (MediaPlayerEvent event)=0
 Report an event occurred during mediaplayer playback to the user. More...
 
virtual void mediaStateChanged (MediaPlayerState state)=0
 Report changes in the mediaplayer state to the user. More...
 
virtual void muteChanged (int mute)=0
 The media player reports the changed mute of the media content. More...
 
virtual void positionChanged (int position)=0
 The media player reports the changed position of the media content. More...
 
virtual void volumeChanged (int volume)=0
 The media player reports the changed volume of the media content. More...
 

Detailed Description

mediaplayer listener interface

See also
IMediaPlayer

Member Function Documentation

◆ mediaStateChanged()

virtual void NuguClientKit::IMediaPlayerListener::mediaStateChanged ( MediaPlayerState  state)
pure virtual

Report changes in the mediaplayer state to the user.

Parameters
[in]statemediaplayer state

◆ mediaEventReport()

virtual void NuguClientKit::IMediaPlayerListener::mediaEventReport ( MediaPlayerEvent  event)
pure virtual

Report an event occurred during mediaplayer playback to the user.

Parameters
[in]eventmediaplayer playback event

◆ mediaChanged()

virtual void NuguClientKit::IMediaPlayerListener::mediaChanged ( const std::string &  url)
pure virtual

The media player reports that the media content has changed.

Parameters
[in]urlchanged media content url

◆ durationChanged()

virtual void NuguClientKit::IMediaPlayerListener::durationChanged ( int  duration)
pure virtual

The media player reports the changed duration of the media content.

Parameters
[in]durationduration of the media content

◆ positionChanged()

virtual void NuguClientKit::IMediaPlayerListener::positionChanged ( int  position)
pure virtual

The media player reports the changed position of the media content.

Parameters
[in]positionposition of the media content

◆ volumeChanged()

virtual void NuguClientKit::IMediaPlayerListener::volumeChanged ( int  volume)
pure virtual

The media player reports the changed volume of the media content.

Parameters
[in]volumevolume of the media content

◆ muteChanged()

virtual void NuguClientKit::IMediaPlayerListener::muteChanged ( int  mute)
pure virtual

The media player reports the changed mute of the media content.

Parameters
[in]mutemute of the media content.

The documentation for this class was generated from the following file: