mediaplayer listener interface
More...
#include <media_player_interface.hh>
mediaplayer listener interface
- See also
- IMediaPlayer
◆ mediaStateChanged()
virtual void NuguClientKit::IMediaPlayerListener::mediaStateChanged |
( |
MediaPlayerState |
state | ) |
|
|
pure virtual |
Report changes in the mediaplayer state to the user.
- Parameters
-
[in] | state | mediaplayer state |
◆ mediaEventReport()
virtual void NuguClientKit::IMediaPlayerListener::mediaEventReport |
( |
MediaPlayerEvent |
event | ) |
|
|
pure virtual |
Report an event occurred during mediaplayer playback to the user.
- Parameters
-
[in] | event | mediaplayer 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] | url | changed 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] | duration | duration 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] | position | position 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] | volume | volume 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] | mute | mute of the media content. |
The documentation for this class was generated from the following file: