You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I checked out the Wear Tiles Sample and have a question about the buttons.
The tiles media sample contains a Play icon button. As described in the sample, the buttons do not do anything at the moment. However, I am not sure how to set the click action to send a broadcast.
I would assume this play button is supposed to start the music without opening the app. I would like to do something similar, turn on a smart light without opening the app.
However, I cannot find an ActionBuilders.Action that sends a broadcast. It would be great if you could add a click action to this sample so it is clear how to actually implement a play button or something similar.
The text was updated successfully, but these errors were encountered:
I set the ID and then at the beginning of onTileRequest, check request params. If the lastClickableId is your click, you can just run any function there including sending a broadcast.
I checked out the Wear Tiles Sample and have a question about the buttons.
The tiles media sample contains a Play icon button. As described in the sample, the buttons do not do anything at the moment. However, I am not sure how to set the click action to send a broadcast.
I would assume this play button is supposed to start the music without opening the app. I would like to do something similar, turn on a smart light without opening the app.
However, I cannot find an
ActionBuilders.Action
that sends a broadcast. It would be great if you could add a click action to this sample so it is clear how to actually implement a play button or something similar.The text was updated successfully, but these errors were encountered: