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) }
}

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 and tablet devices.
- 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-mobile-zh-CN
- 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-es-ES
fridge- 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