简体   繁体   中英

sony smartwatch control having more number of actions

I followed this tutorial and got notification on my sony samrtwatch. But now i want to have dynamic number of actions in manu when notification message is opened. Currently we are having 3 actions only. So is it possible? and if not then is there any other alternatives like setting some UI like the tutorial have and clicking on some of the button on that ui i can get notified back in my application.

Currently there isn't a way to have a dynamic number of actions in the menu for Notification API. Three is the max that you can have and you have to set them at compile time. If you need more flexibility your only option is to use the Control API and build your own notification UI yourself.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM