Defines a followup
, which gives users an opportunity to do a specific follow-up action by responding to a yes or no question. This feature is particularly useful when using hands-free list navigation to guide a user to an action. For more information, see Guiding Conversations in the developer's guide.
result-view {
match: MyStruct (this)
message ("Here's my struct: {x='#{value(this.x)}', y= #{value(this.y)}}")
render {
layout-match (this) {
mode (Details)
}
}
followup {
prompt {
dialog (Would you like to increment the struct?)
on-confirm {
if (false) {
message (I see...)
} else {
intent {
goal: IncrementStruct
value: MyStruct$expr(this)
}
}
}
on-deny {
message (OK friend.)
}
}
}
}
prompt optional | Specifies what happens in the follow-up interaction with the user |
Copyright 2025 Samsung All rights reserved