Sessions
A unique feature of Dinkum is sessions. These are managed by the intent service, and allow for centralized deconfliction of the GUI and TTS systems.
def handle_intent(self):
self.speak_dialog("my-dialog", data={"x": 1})
self.gui["y"] = 2
self.gui.show_page("my-page.qml")def handle_intent(self):
return self.end_session(
dialog=("my-dialog", {"x": 1}),
gui=("my-page.qml", {"y": 2})
)Last updated