Bixby Developer Center

Guides
References

render

optional

Renders the specified view for users.

Example

input-view {
match: Person (candidates) {
from-output: FindPerson {
from-input: PersonName (name)
}
}
message {
template-macro (PERSON_SELECTION_PROMPT)
}
render {
selection-of (candidates) {
navigation-mode {
if ($handsFree) {
read-one {
with-navigation-conversation-drivers
list-summary {
template-macro (HANDS_FREE_PERSON_LIST_SUMMARY) {
param (name) {
if (exists(name)) {
expression (name)
}
}
}
}
page-content {
item-selection-question {
template-macro (HANDS_FREE_PERSON_ITEM_SELECTION_QUESTION)
}
overflow-statement {
template-macro (HANDS_FREE_PERSON_OVERFLOW_STATEMENT)
}
overflow-question {
template-macro (HANDS_FREE_PERSON_OVERFLOW_QUESTION)
}
underflow-statement {
template-macro (HANDS_FREE_PERSON_UNDERFLOW_STATEMENT)
}
}
}
}
}
where-each (candidate) {
layout-macro (PERSON_SUMMARY) {
param (person) {
expression (candidate)
}
}
spoken-summary {
template ("#{value(candidate.name)}")
}
}
}
}
}

View master on GitHub

Note

The $handsFree EL variable should be checked within a read-many or read-one block, not outside it in the navigation-mode or render block of a view. When used directly in a navigation-mode or render, it will always evaluate to true. This usage is deprecated.

Child Keys

image-list-of
optional
Creates a gallery view of images of type or subtype of BaseImage that were returned from the results
layout
optional
Defines the layout of the given view
layout-macro
optional
Defines a layout or a portion of a layout with a macro
layout-match
optional
Defines a group view using an existing layout that matches on the specified value
list-of
optional
Creates a list from an array of returned results
macro
optional
Defines a layout, a portion of a layout, or a dialog with a macro
nothing
optional
Do not render anything in the outputted view