Bixby Developer Center

References

with-value-at

optionalvalue required

Specify a property to use for a memorization strategy. Use with-value-at when you want a strategy to advise for memorizing an option. This is particularly useful when the only way to distinguish between multiple options is to consider specific properties the option contains. The with-value-at parameter specifies a property to include as part of that memorization.

Example

selection-strategy {
id (phoneInfo_selection_strategy)

match {
PhoneInfo (this)
}

named-advice ("phone-info-selection") {
with-value-at (this.phoneType)
with-value-at (this.number)
advice (1.0)
advise-for {
lowerBoundClosed (1.0)
}
}
}