Bixby Developer Center

References

label

optionalvalue optional

Text applied to action button in a confirmation view. The label should be informative and clear to the users what action will be taken when the button is tapped.

Examples

Here is an example for confirming an action:

label (Book room)
    label {    
if (exists(action.receipt)) {
macro (CancelOrder)
}
}

View 84cc015 on GitHub

Here is an example for aborting an action:

label (Keep looking)
    label {    
macro (KeepIt)
}

View 84cc015 on GitHub

Child Keys

macro
optional
Defines a layout, a portion of a layout, or a dialog with a macro
template
optional
Text to be passed
template-macro
optional
Encapsulates dialog logic that normally would lead to duplication