I have written a widget to change screen brightness. I would like some information re the values used for both WriteSetting, to change the system setting and Phone.SetScreenBrightness, to change current brightness.
As I understand it value has a range from 0 to 255, and that a very small value will turn the display completely off. I have read on the forum that values up to and including 15 will do this.
My Question: Can I view the value of 255 to represent 100% brightness, and that 50% of that value would represent 50% brightness? I’m looking for a way to scale that value, relative to actual brightness. Is there information available that would explain this? Any help is greatly appreciated.
Regards
As I understand it value has a range from 0 to 255, and that a very small value will turn the display completely off. I have read on the forum that values up to and including 15 will do this.
My Question: Can I view the value of 255 to represent 100% brightness, and that 50% of that value would represent 50% brightness? I’m looking for a way to scale that value, relative to actual brightness. Is there information available that would explain this? Any help is greatly appreciated.
Regards