Bixby Developer Center

References

observation-alias

optionalvalue required

Allows you to define a <property> of any type as a medium for Preference Learning. For example, you can set a logo that a user taps on as an observation-alias. You can read more about observation-alias in the Developer's Guide.

Example

structure (TripOption) {
property(carriers) {
type (Carrier)
min(Required) max (Many)
visibility (Private)
}

// carriers.code is recorded as a preference whenever carriers.logo is visible
features {
preferable {
preference (carriers.code) {
observation-alias (carriers.logo)
}
}
}
}

View master on GitHub