Represents the information that is shown to the user as a summary. For uniformity in these layouts, the slots are predefined.
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:
Copyright 2025 Samsung All rights reserved