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.
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)
}
}
}
}
Copyright 2024 Samsung All rights reserved