Bixby Developer Center

References

on-abort

optional

The plan to execute if user aborts the action.

Example

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)
}
}
}
}
}
}

View master on GitHub

Child Keys

intent
optional
A set of signals that the Bixby planner interprets to create a plan