Minimum cardinality of the input (Optional
or Required
). If the minimum cardinality is violated (meaning no values supplied for a min (Required)
input), by default, Bixby prompts the user to supply a value unless prompt-behavior (Never)
is specified on the input. You could also specify an on-empty
block and use conditionals to either prompt the user or halt execution.
action (%name%) {
collect {
input (%name%) {
type (%type%)
min (%min-cardinality%)
}
}
}
action (FindThatPlanet) {
type (Search)
collect {
input (name) {
type (PlanetName)
min (Optional) max (One)
}
input (color) {
type (PlanetColor)
min (Optional) max (One)
}
}
output (ThatPlanet)
}
on-empty optional | Determines what happens when the minimal cardinality is not met |
Copyright 2025 Samsung All rights reserved