Skip to content

Plugin.Maui.ScreenBrightness provides the ability to get or set the screen brightness inside a .NET MAUI application.

License

Notifications You must be signed in to change notification settings

jfversluis/Plugin.Maui.ScreenBrightness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plugin.Maui.ScreenBrightness

Plugin.Maui.ScreenBrightness provides the ability to get or set the screen brightness inside a .NET MAUI application.

Install Plugin

NuGet

Available on NuGet.

Install with the dotnet CLI: dotnet add package Plugin.Maui.ScreenBrightness, or through the NuGet Package Manager in Visual Studio.

API Usage

Plugin.Maui.ScreenBrightness provides the ScreenBrightness class that has a single property Brightness that you can get or set.

You can either use it as a static class, e.g.: ScreenBrightness.Default.Brightness = 1 or with dependency injection: builder.Services.AddSingleton<IScreenBrightness>(ScreenBrightness.Default);

About

Plugin.Maui.ScreenBrightness provides the ability to get or set the screen brightness inside a .NET MAUI application.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Contributors 4

  •  
  •  
  •  
  •  

Languages