Bixby Developer Center

Build Conversational Experiences
Guides
References

device-location-access

optional

Specifies that you are requesting device-location-access in the permission-link component. You must also declare and properly set up this permission in your capsule.bxb file. For more information, see Grant Capsule Permissions in the Setting Up Your Capsule Developers' Guide.

If you request for this permission with this component, a location icon appears with the text.

Example

...
permission-link {
text (View results based on location) // required
device-location-access
on-allow {
intent {
goal {
myRadioPlayer.PlayRadio @context (Outer)
}
value {
myRadioPlayer.PlayRadio.Local (true)
}
}
}
on-deny { // optional
intent {
goal {
myRadioPlayer.PlayRadio @context (Outer)
}
value {
myRadioPlayer.PlayRadio.Local (false)
}
}
}
}