Uh oh! We couldn’t find any match.

Please try other search keywords.

Bixby Developer Center


Refreshing Content

This sample capsule demonstrates how to implement a refresh use case, using a ride sharing capsule as an example.

Download Capsule

Refreshes are especially useful when updating a user on the current status of an activity, such as the location of a user's last order. In this particular sample, the ride share capsule uses the goal: CheckRideShareStatus as the intent. The UI then periodically refreshes to show how far away the current ride is, with an updated message for the user each time it's refreshed.

The refresh is implemented in the result-view, refreshing the interface at five second intervals:

refresh {
condition (this.countdown != 0)
on-refresh {
intent {
goal: CheckRideShareStatus
value {
$expr (this)

For more information, see Refreshing Your Content.