NUGU SDK Linux  1.7.5
NuguCapability::IBluetoothListener Class Referenceabstract

bluetooth listener interface More...

#include <bluetooth_interface.hh>

+ Inheritance diagram for NuguCapability::IBluetoothListener:
+ Collaboration diagram for NuguCapability::IBluetoothListener:

Public Member Functions

virtual void finishDiscoverableMode ()=0
 Send command to switch discoverable off to bluetooth adaptor.
 
virtual void next ()=0
 Send command to play next media to bluetooth adaptor.
 
virtual void pause (bool by_focus=false)=0
 Send command to pause media to bluetooth adaptor. More...
 
virtual void play (bool by_focus=false)=0
 Send command to play media to bluetooth adaptor. More...
 
virtual void previous ()=0
 Send command to play previous media to bluetooth adaptor.
 
virtual void requestContext (BTDeviceInfo &device_info)=0
 Request device information for bluetooth context. More...
 
virtual void startDiscoverableMode (long duration_sec)=0
 Send command to switch discoverable on to bluetooth adaptor. More...
 
virtual void stop (bool by_focus=false)=0
 Send command to stop media to bluetooth adaptor. More...
 
- Public Member Functions inherited from NuguClientKit::ICapabilityListener
virtual ICapabilityInterfacegetCapabilityHandler ()
 Get capability interface object. More...
 
virtual void setCapabilityHandler (ICapabilityInterface *handler)
 Set capability interface object. More...
 

Detailed Description

bluetooth listener interface

See also
IBluetoothHandler

Member Function Documentation

◆ startDiscoverableMode()

virtual void NuguCapability::IBluetoothListener::startDiscoverableMode ( long  duration_sec)
pure virtual

Send command to switch discoverable on to bluetooth adaptor.

Parameters
[in]duration_secduration time for discoverable on

◆ play()

virtual void NuguCapability::IBluetoothListener::play ( bool  by_focus = false)
pure virtual

Send command to play media to bluetooth adaptor.

Parameters
by_focusrequest to play media to bluetooth adaptor by focus policy

◆ stop()

virtual void NuguCapability::IBluetoothListener::stop ( bool  by_focus = false)
pure virtual

Send command to stop media to bluetooth adaptor.

Parameters
by_focusrequest to stop media to bluetooth adaptor by focus policy

◆ pause()

virtual void NuguCapability::IBluetoothListener::pause ( bool  by_focus = false)
pure virtual

Send command to pause media to bluetooth adaptor.

Parameters
by_focusrequest to pause media to bluetooth adaptor by focus policy

◆ requestContext()

virtual void NuguCapability::IBluetoothListener::requestContext ( BTDeviceInfo device_info)
pure virtual

Request device information for bluetooth context.

Parameters
[in]device_infodevice information

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