I just the want to change the brightness of the backlit by programming.
If should use the private API, never mind, just want to finish the function.
Anyone can tell me which API should I to use?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Might want to check out this article: http://www.osxbook.com/book/bonus/chapter10/light/.
It was mentioned in a previous question that might be related to this question.
Please note that the article (at the time of writing [2006],) does say:
There Are No Published Motion/Light Sensor APIs