Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/204.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 11通知LED,如何闪烁?_Android_Android Notifications - Fatal编程技术网

Android 11通知LED,如何闪烁?

Android 11通知LED,如何闪烁?,android,android-notifications,Android,Android Notifications,如何在Android 11中启动Blink通知灯并设置灯的颜色 旧方法设置灯(Color.RED,blinkDiode,blinkDiode)已被弃用,无法在Pixel 2 Android 11上使用 我问,因为有人试过这个应用程序: 在像素2和Android 11上,闪烁通知和设置自定义颜色效果良好。这是如何实现的

如何在Android 11中启动Blink通知灯并设置灯的颜色

旧方法
设置灯(Color.RED,blinkDiode,blinkDiode)已被弃用,无法在Pixel 2 Android 11上使用

我问,因为有人试过这个应用程序: 在像素2和Android 11上,闪烁通知和设置自定义颜色效果良好。这是如何实现的