NUGU SDK Linux  1.7.6
NuguClientKit::IPlaySyncManagerListener Class Reference

IPlaySyncManagerListener interface. More...

#include <playsync_manager_interface.hh>

Public Member Functions

virtual void onDataChanged (const std::string &ps_id, std::pair< void *, void * > extra_datas)
 Receive callback when the extra data is changed. More...
 
virtual void onStackChanged (const std::pair< std::string, std::string > &ps_ids)
 Receive callback when the play stack is changed. More...
 
virtual void onSyncState (const std::string &ps_id, PlaySyncState state, void *extra_data)
 Receive callback when sync state is changed. More...
 

Detailed Description

Member Function Documentation

◆ onSyncState()

virtual void NuguClientKit::IPlaySyncManagerListener::onSyncState ( const std::string &  ps_id,
PlaySyncState  state,
void *  extra_data 
)
virtual

Receive callback when sync state is changed.

Parameters
[in]ps_idplay service id
[in]stateplay sync state
[in]extra_dataan extra_data which is sent at starting sync

◆ onDataChanged()

virtual void NuguClientKit::IPlaySyncManagerListener::onDataChanged ( const std::string &  ps_id,
std::pair< void *, void * >  extra_datas 
)
virtual

Receive callback when the extra data is changed.

Parameters
[in]ps_idplay service id
[in]extra_datasthe extra_datas which are composed by previous and new

◆ onStackChanged()

virtual void NuguClientKit::IPlaySyncManagerListener::onStackChanged ( const std::pair< std::string, std::string > &  ps_ids)
virtual

Receive callback when the play stack is changed.

Parameters
[in]ps_idsplay service ids (first:added stack, second:removed stack)

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