The plan to execute if user aborts the action.
This is an example of on-abort
within a confirmation-view
:
confirmation-view {
match {
CancelConfirmation {
confirming {
CancelCommittedOrder (action)
}
}
}
mode (PositiveEmphasis)
abort-options {
label {
macro (KeepIt)
}
on-abort {
intent { //The intent to execute when user aborts the confirmation
goal {CheckStatus}
}
}
}
confirm-options {
label {
if (exists(action.receipt)) {
macro (CancelOrder)
}
}
}
render {
if (exists(action.receipt)) {
layout {
macro (receipt-header) {
param (receipt) {
expression (action.receipt)
}
}
macro (receipt-contact-information) {
param (receipt) {
expression (action.receipt)
}
}
macro (receipt-order-total) {
param (receipt) {
expression (action.receipt)
}
}
}
}
}
}
intent optional | A set of signals that the Bixby planner interprets to create a plan |
Copyright 2024 Samsung All rights reserved