Bixby Developer Center

Guides
References

refresh

optional

Allows for the results to be periodically refreshed, as long as the UI remains open.

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

condition[deprecated]
optional
This key is deprecated
delay[deprecated]
optional
This key is deprecated
on-refresh[deprecated]
optional
This key is deprecated
spec
optional
Contains the information to process the refresh