Bixby Developer Center

Guides
References

target

optionalmultiple allowedvalue required

A specific locale and device to support within a capsule. Your capsule can support multiple targets.

Example

targets {
// expands to all supported `bixby-mobile-en` target markets.
target (bixby-mobile-en)

// expands to all supported `bixby-mobile-ko` target markets.
target (bixby-mobile-ko)

// disables support for `bixby-mobile-ko-KR`
target (bixby-mobile-ko-KR) { enabled (false) }
}
    targets {
target (bixby-mobile-en-US)
target (bixby-mobile-ko-KR)
}

View 4a622af92e9f25ba230f18f3180ab97de3d560eb on GitHub

  targets {
target (bixby-mobile-en-US)
target (bixby-mobile-ko-KR){enabled (false)}
}

View 1e9150c6ec12493babf15aa5039878a1f05a3717 on GitHub

Currently Available Targets

Note

It is possible to wildcard locales by excluding the country code. For example, bixby-mobile-en will cover English in general, not just the American dialect.

DeviceLocaleTargets
mobile

This handles both mobile phone and tablet devices.
- Chinese (China): zh-CN
- English (India): en-IN
- English (UK): en-GB
- English (US): en-US
- French (France): fr-FR
- German (Germany): de-DE
- Italian (Italy): it-IT
- Korean (South Korea): ko-KR
- Portuguese (Brazil): pt-BR
- Spanish (Spain): es-ES
- bixby-mobile-zh-CN
- bixby-mobile-en-IN
- bixby-mobile-en-GB
- bixby-mobile-en-US
- bixby-mobile-fr-FR
- bixby-mobile-de-DE
- bixby-mobile-it-IT
- bixby-mobile-ko-KR
- bixby-mobile-pt-BR
- bixby-mobile-es-ES
fridge

This is also known as the Family Hub.
- Chinese (China): zh-CN
- English (UK): en-GB
- English (US): en-US
- French (France): fr-FR
- German (Germany): de-DE
- Italian (Italy): it-IT
- Korean (South Korea): ko-KR
- Spanish (Spain): es-ES
- bixby-fridge-zh-CN
- bixby-fridge-en-GB
- bixby-fridge-en-US
- bixby-fridge-fr-FR
- bixby-fridge-de-DE
- bixby-fridge-it-IT
- bixby-fridge-ko-KR
- bixby-fridge-es-ES
tv- Chinese (China): zh-CN
- English (UK): en-GB
- English (US): en-US
- French (France): fr-FR
- German (Germany): de-DE
- Italian (Italy): it-IT
- Korean (South Korea): ko-KR
- Spanish (Spain): es-ES
- bixby-tv-zh-CN
- bixby-tv-en-GB
- bixby-tv-en-US
- bixby-tv-fr-FR
- bixby-tv-de-DE
- bixby-tv-it-IT
- bixby-tv-ko-KR
- bixby-tv-es-ES
watch- Chinese (China): zh-CN
- English (UK): en-GB
- English (US): en-US
- French (France): fr-FR
- German (Germany): de-DE
- Italian (Italy): it-IT
- Korean (South Korea): ko-KR
- Spanish (Spain): es-ES
- bixby-watch-zh-CN
- bixby-watch-en-GB
- bixby-watch-en-US
- bixby-watch-fr-FR
- bixby-watch-de-DE
- bixby-watch-it-IT
- bixby-watch-ko-KR
- bixby-watch-es-ES

Child Keys

enabled
optional
Specify whether a specific target is enabled