Sets a range of acceptable values with a lower bound (min-value
) and an upper bound (max-value
). Because this is part of features
, you can have these values inherited by sub-types that use role-of
or extends
if you set the concepts-inherit-super-type-features
runtime flag.
decimal (Magnitude) {
description (The magnitude of an earthquake)
features {
recognized-range {
min-value(0)
max-value(12)
}
}
}
The upper and lower bounds only apply to the values produced by the Bixby natural language system. In the example above, Bixby never produces a value of 13 for an earthquake magnitude. However, if you create a value outside this range using other methods (such as through an intent or as output from an action) that is perfectly legal and will execute normally.
Copyright 2025 Samsung All rights reserved