Bixby Developer Center

Guides
References

state

optionalvalue required

The state of the transaction flow's activity phase. It can be one of the following:

  • Scheduled: Activity is scheduled for the user. It is not necessary to make this the initial state. In some cases, it may make sense to put the activity directly in Relevant state.

  • Relevant: Activity is relevant for the user. The event might begin soon, have just started, or end soon.

  • Recent: Activity is done. It either completed with a success/failure OR was canceled. This is a terminal state.

    Example

      state (Scheduled) {
expires(statusRefreshTime)
summary-view {
message {
template ("#{value(orderState)} #{value(order)}")
}
title {
template ("#{value(order)}")
}
details {
template ("#{value(orderState)}")
}
}
detail-view {
render {
layout-match (this) {
mode (Details)
}
}
}
}

View on GitHub

Child Keys

summary-view
required
Represents the information that is shown to the user as a summary
detail-view
optional
A view that represents the detailed layout (as opposed to the summary layout)
expires
optional
The time in seconds the current state will remain fresh