Bixby Developer Center

Guides
References

conversation-drivers

optional

Provide convenient shortcuts to related actions. These shortcuts are shown as buttons at the bottom of a device's screen in the action zone.

Zones

Note

Conversation drivers do not appear in any lists on the watch because it interferes with the watch's list scrolling behavior.

Learn more about Conversation Drivers.

Examples

result-view {
match: MemeTemplate(this)
render {
if (size(this) > 1) {
list-of (this) {
where-each (memeTemplate) {
layout-macro (MemeTemplate_Summary) {
param (memeTemplate) {
expression (memeTemplate)
}
}
}
}
} else-if (size(this) == 1) {
layout-macro (MemeTemplate_Details) {
param (memeTemplate) {
expression (this)
}
}
}
}
conversation-drivers {
if (size(this) == 1) {
conversation-driver {
template (Make this meme)
}
}
}
}

View on GitHub

result-view {
match: PlanetDistance (this) {
from-property: Planet (planet) {
min (Required)
max (One)
}
}

render {
layout-macro (planet-distance-macro) {
param (planet) {
expression (planet)
}
}
}

message {
template ("#{value(planet)} is #{value(this)} million miles from the sun.")
}

conversation-drivers {
conversation-driver {
template ("Show #{value(planet)}")
}
}
}

View on GitHub

Child Keys

conversation-driver
optional
A specific conversation driver