Languages

Menu
Sites
Language
Detect if a wearable device has a bezel

Just wondered how a check for if the device supports Rotary Events or not? I want some onscreen instructions but want them to show different for the Gear S2 vs older models.

Thanks,

Jon

Responses

2 Replies
Jeongsu Kim

You can check it by system information api.

https://developer.tizen.org/dev-guide/2.4.0/org.tizen.native.mobile.apireference/group__CAPI__SYSTEM__SYSTEM__INFO__MODULE.html
https://developer.tizen.org/development/guides/native-application/system/system-information#feature

http://tizen.org/feature/input.rotating_bezel bool The platform returns true for this key, if the device supports the rotating bezel feature.
Jonny Roy

Jeongsu, you rock!