Bixby Developer Center

Guides
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

Intent example:

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

View on GitHub

URL example:

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

Child Keys

intent
optional
A set of signals that the Bixby planner interprets to create a plan
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