Bixby Developer Center

Guides
References

page-marker

optionalvalue optional

Provides spoken guidance during list navigation to indicate which page of items the user is currently on. Use Expression Language pagination functions to determine whether the user is on the first page or last page. You can use the size() EL function to determine how many items are on the current page. You need to either define a spoken-summary for the item Bixby is reading about or have a Value dialog to default to for that item.

Note that you must bind a variable to the current page value with page-content as shown in the example below.

Example

...
page-content (page) {
page-marker {
if (size(page) >= 1) {
if (isFirstNavPage(page)) {
template ("The first #{size(page)} items are")
} else-if (isLastNavPage(page)){
if (size(page) == 1) {
template ("The last item is")
} else {
template ("The last #{size(page)} items are")
}
} else {
template ("The next #{size(page)} items are")
}
}
}
}
...

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