Bixby Developer Center

References

allowed-list

optional

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.

Examples

The follow examples show how to use the allow key in various situations:

Store Sections Example

capsule {
...
store-sections {
section (MusicAndAudio)
section (ArtAndLifestyle) {
visibility-constraints {
country-constraints: allowed-list {
allow (US)
allow (KR)
}
}
}
}
}

NL Category Example

capsule {
...
category (Podcast) {
visibility-constraints {
language-constraints { //another example of a type of constraint
allowed-list {
allow (en-US)
}
}
}
}
}

Permissions Example

capsule {
...
permissions {
device-location-access {
restrictions {
device-class-constraints {
allowed-list {
allow (bixby-mobile)
}
}
}
}
}
}

Library Permissions Example

capsule {
...
library-permission (my-capsule:photos) {
restrictions {
target-constraints {
allowed-list {
allow (bixby-mobile-en-US)
}
}
}
}
}

Child Keys

allow
required
Indicates a specific entry to allow