Bixby Developer Center

References

preference-support

required

This key introduces a bootstrapped preferences block. You can also learn more about preference learning with the Preference Learning sample capsule.

This key and its child keys must be defined in a *.preference.bxb file. This file must be in the appropriate locale-specific resources folder.

Example

preference-support {
match: FlowerProduct (this)

bootstrap (productTypes) {
value (Bouquet)
value (FlowerArrangement)
}
}

View master on GitHub

This example specifies a match pattern for the FlowerProduct concept, and then bootstraps the productTypes property.

Child Keys

match
required
Use match patterns to dynamically lookup an appropriate root type for the current context
bootstrap
optional
Add a bootstrapped preference for a concept property