display listener interface
More...
#include <display_interface.hh>
display listener interface
- See also
- IDisplayHandler
◆ renderDisplay()
virtual void NuguCapability::IDisplayListener::renderDisplay |
( |
const std::string & |
id, |
|
|
const std::string & |
type, |
|
|
const std::string & |
json_payload, |
|
|
const std::string & |
dialog_id |
|
) |
| |
|
pure virtual |
Request rendering by passing metadata so that the device with the display can draw on the screen.
- Parameters
-
[in] | id | display template id |
[in] | type | display template type |
[in] | json_payload | template in json format for display |
[in] | dialog_id | dialog request id |
◆ clearDisplay()
virtual bool NuguCapability::IDisplayListener::clearDisplay |
( |
const std::string & |
id, |
|
|
bool |
unconditionally, |
|
|
bool |
has_next |
|
) |
| |
|
pure virtual |
The SDK will ask you to delete the rendered display on the display according to the service context maintenance policy.
- Parameters
-
[in] | id | display template id |
[in] | unconditionally | whether clear display unconditionally or not |
[in] | has_next | whether has next display to render |
- Returns
- true if display is cleared
◆ controlDisplay()
Request to control the display with type and direction.
- Parameters
-
[in] | id | display template id |
[in] | type | control type |
[in] | direction | control direction |
◆ updateDisplay()
virtual void NuguCapability::IDisplayListener::updateDisplay |
( |
const std::string & |
id, |
|
|
const std::string & |
json_payload |
|
) |
| |
|
pure virtual |
Request to update the current display.
- Parameters
-
[in] | id | display template id |
[in] | json_payload | template in json format for display |
The documentation for this class was generated from the following file: