Contains one or more allow
keys specifying allowed values for a constraint. An item matching any of the specified regular expressions satisfies the constraint and is considered allowed.
The follow examples show how to use the allow
key in various situations:
capsule {
...
store-sections {
section (MusicAndAudio)
section (ArtAndLifestyle) {
visibility-constraints {
country-constraints: allowed-list {
allow (US)
allow (KR)
}
}
}
}
}
capsule {
...
category (Podcast) {
visibility-constraints {
language-constraints { //another example of a type of constraint
allowed-list {
allow (en-US)
}
}
}
}
}
capsule {
...
permissions {
device-location-access {
restrictions {
device-class-constraints {
allowed-list {
allow (bixby-mobile)
}
}
}
}
}
}
capsule {
...
library-permission (my-capsule:photos) {
restrictions {
target-constraints {
allowed-list {
allow (bixby-mobile-en-US)
}
}
}
}
}
allow required | Indicates a specific entry to allow |
Copyright 2024 Samsung All rights reserved