禁用/启用通知LED [英] Disable/enable notification led

查看:135
本文介绍了禁用/启用通知LED的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能以编程方式禁用和启用在Android设备上的LED指示灯?我不是指仅仅打开和关闭它作为一个通知。我没有看到,会做这样的API什么。我猜这是特定的硬件,如果它是在所有可能的。

Is it possible to programmatically disable and enable the led indicator light on an Android device? I am not referring to just turning it on and off as in a notification. I did not see anything in the api that would do so. I am guessing this is hardware specific if it is possible at all.

推荐答案

我还没有看到任何的API来处理比通知类以外的LED灯。

I have not seen any APIs for dealing with the LEDs other than the Notification class.

这篇关于禁用/启用通知LED的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆