Bixby Developer Center

Guides
References

visibility-constraints

optional

Collection of constraints for the given entry. There are several types of constraints you can specify, each with either an allowed-list or a blocked-list but not both. The constraints listed are strings that are treated as a regular expression and expected to match anywhere in the value being tested.

Example

capsule {
...

store-sections {
section (MusicAndAudio)
section (ArtAndLifestyle) {
visibility-constraints {
country-constraints{
allow-list {
allow (US)
allow (KR)
}
}
device-class-constraints {
allowed-list {
allow (bixby-mobile)
}
}
}
}
}
...
}
...
capsule-categories {
category (Radio)
category (Podcast) {
visibility-constraints {
language-constraints {
blocked-list {
block (en-UK)
}
}
device-model-constraints {
blocked-list {
block (SM-G973[A-Z]*) // Galaxy S10
}
}
}
}
}
...

Child Keys

country-constraints
optional
Specifies any country constraints via either an allowed-list or a blocked-list, but not both
device-class-constraints
optional
Specifies any device class constraints via either an allowed-list or a blocked-list, but not both
device-model-constraints
optional
Specifies any device-model constraints via either an allowed-list or a blocked-list, but not both
language-constraints
optional
Specifies any language constraints via either an allowed-list or a blocked-list, but not both
target-constraints
optional
Specifies language and device constraints for a single target via either an allowed-list or a blocked-list, but not both