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

If your capsule is on the Marketplace and you haven't used the result-view-capsule-lock flag to opt out of capsule lock, conversation drivers in result views only display if the device itself also supports capsule lock.

If you have opted out of capsule lock, conversation drivers in result views always display.

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