Uh oh! We couldn’t find any match.

Please try other search keywords.

Bixby Developer Center

Guides

confirmation-view

optional

Determines the confirmation prompt being created, namely through what dialog and content are displayed to the user and how to handle confirm or abort responses. There must be a corresponding transactional action asking for confirmation with the confirm key.

Note

If the message key is missing, no confirmation dialog will be shown in the default case.

confirmation-view {
match: common.Confirmation {
confirming: Action2 (action)
}
mode (NegativeEmphasis)
message ("Continue?")

render {
// `layout-match` or `layout-macro` or `nothing`
layout-match(action.input) {
mode (Detail)
}
}

confirm-options {
label ("Book")
on-confirm {
// allows user's to do post-confirmation validation
if (false) { // only `halt` and `replan` effects are supported
halt
}
}
}
abort-options {
label ("Keep looking")
on-abort {
intent {
goal: AvailableHotel
value {$expr(request.when)}
value {$expr(request.hotel.address.centroid)}
}
}
}
conversation-drivers {
...
}
}

Child Keys

match
required
The match pattern evaluated to decide which action is being confirmed
abort-options
optional
Container for the abort options, determining what happens if a user aborts a choice
confirm-options
optional
Container for the confirmation options, determining what happens if a user confirms a choice
conversation-drivers
optional
Provide convenient shortcuts to related actions in the form of buttons that appear at the bottom of the screen
message
optional
Message to display to users
mode
optional
The mode in which to render the confirmation decision
refresh
optional
Allows for the results to be periodically refreshed, as long as the UI remains open
render
optional
Renders the specified view for users