Access Device Characteristics (e.g., screen dimensions)
Answered
Steven Arkonovich Jul 16, 15:13 PDT It would be really helpful in customizing layouts if $vivContext passed some simple device characteristics (screen size) along with device model. Generally, knowing the device model is helpful not in itself, but as a way of knowing device properties. So, why not pass those along directly? Developers can't really keep track of the various devices / device properties themselves. |
-
Official comment
As long as you use UI toolkit (Views, Layouts etc), Bixby will automatically present the appropriate layout to the intended device. That being said $vivContext does have information about the device such as deviceModel and device https://bixbydevelopers.com/dev/docs/dev-guide/developers/actions.js-actions#passing-user-context-information
Comment actions
Please sign in to leave a comment.
Comments
1 comment