Bixby Developer Center

References

on-click

optional

Defines an intent, a URL, or a view-for to use when a user taps on the component. The intent or URL defined will be passed to Bixby, whether the user taps on the component or selects a component using hands-free mode. If you are in a list and want to redirect the user to a different view, you can use the view-for key.

Note

Make sure that you are following the App Punch-Out policies if your on-click makes users exit Bixby.

Examples

Here is an example with an intent:

          on-click {
intent {
goal: FetchMovieCredits
value: $expr (movie)
}
}

View 5b3e8c8 on GitHub

Here is an example with a URL:

image-card {
...
on-click {
url (http://bixbydevelopers.com)
external-link-badge {
label (Bixby Developer Center)
}
}
}

Child Keys

external-link-badge
optional
Adds a badge to the parent component, indicating to users that tapping on the component takes them out of Bixby to an external application
url
optional
The URL to navigate users to when they tap on the component
view-for
optional
Defines a view to navigate to when the component is tapped
intent
optional
A set of signals that the Bixby planner interprets to create a plan