Bixby Developer Center

References

permissions

optional

Declares which permissions are needed for the source in the autocomplete component. If you have more than one library capsule that needs to be accessed while using this component, declare which permissions from those library capsules are needed here.

Note

Search results are not automatically shown if permissions are needed. After users input information, they need to tap on the button displayed to see more results. The user is then prompted for permissions in order to continue with the results. If there are multiple permissions, they are combined into a single prompt.

Examples

...
auto-complete {

source {
collect-with () { }
label ()
where-each () { }
permissions {
library-permission (self:profile)
library-permission (contact:contacts)
}
}
}
...
auto-complete {

default-source {
collect-with () { }
label ()
where-each () { }
permissions {
library-permission (self:profile)
library-permission (contact:contacts)
}
}
}

Child Keys

library-permission
optional
A library-specific permission