Bixby Developer Center

Build Conversational Experiences
Guides
References

refresh

optional

Allows for the results to be periodically refreshed, as long as the UI remains open. For more information, see the Refreshing Your Content Developers' Guide and the Refresh Sample Capsule.

Example

...
refresh {
if ((size(this) == 1) and (this.flightState == 'active')) {
spec {
delay-seconds (this.flightNumber) // a silly example, but shows you can use property values too
with-request {
if (true) { // obviously optional, for demonstration purposes only
intent {
goal {FlightStatus}
value {$expr(this.carrier)}
value {$expr(this.flightNumber)}
}
}
}
}
}
}
}
...

Child Keys

spec
optional
Contains the information to process the refresh