Bixby Developer Center

Guides
References

summary-view

required

Represents the information that is shown to the user as a summary. For uniformity in these layouts, the slots are predefined.

Example

summary-view {
title {
if (exists(viv.activity.rideShare.destinationPoint)) {
template ("Uber, #{value (viv.activity.rideShare.sourcePoint)} to #{value (viv.activity.rideShare.destinationPoint)}")
}
template ("Uber from #{value (viv.activity.rideShare.sourcePoint)}")
}
details {
if (exists(activity.receipt.totalCharged)) {
template ("#{value (viv.activity.status)} for #{value (viv.activity.receipt.totalCharged)}")
}
template ("#{value (viv.activity.status)}")
}
message {
template ("Uber[ #{value (viv.activity.startTime)}]")
}
}

The resulting View looks like this:

Summary View for Ride-Sharing Example

Child Keys

details
required
Details
title
required
Title
image-url
optional
URL of image to display
message
optional
Message to display to users