Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to raise the notification level of timeline updates?

Are there options other than DEFAULT for the notification level?timelineItem.setNotification(new NotificationConfig().setLevel("DEFAULT"));

I would like the screen to turn on to show my new/updated card instead of just hearing the sound and having to quickly turn the glass on to catch the notification or have to scroll through to find it.

like image 521
Daniel Kaplan Avatar asked Mar 24 '23 07:03

Daniel Kaplan


1 Answers

There are only two notification levels: DEFAULT and NULL.

The Glass team has decided against allowing developers to use the Mirror API to automatically turn on screens. There was a feature request that the team closed. Here is the explanation:

This is something that we've considered, but as it turns out, it's really distracting. We're continuing to experiment with ways to make notifications rich, but bringing the screen on automatically is probably not something that we'll ever provide in the Mirror API.

like image 105
J Wang Avatar answered May 28 '23 14:05

J Wang