Permissions.Battery Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Permission for battery
public class Permissions.Battery : Xamarin.Essentials.Permissions.BasePlatformPermission
- Inheritance
Permissions. |
Public constructor for permission. |
Recommended |
(Inherited from Permissions.BasePlatformPermission) |
Required |
Get a list of required declarations. (Inherited from Permissions.BasePlatformPermission) |
Required |
Get a list of required keys in the info.plist. (Inherited from Permissions.BasePlatformPermission) |
Required |
Get a list of required permissions. |
Required |
Get a list of required permissions. (Inherited from Permissions.BasePlatformPermission) |
Check |
Check status of Battery permission. |
Check |
Checks the status of a specific permission. (Inherited from Permissions.BasePlatformPermission) |
Ensure |
Ensures that all permissions are declared. (Inherited from Permissions.BasePlatformPermission) |
Request |
Request a specific permission from the user. (Inherited from Permissions.BasePlatformPermission) |
Should |
Gets whether you should show UI with rationale for requesting a permission. (Inherited from Permissions.BasePlatformPermission) |
Product | Versions |
---|---|
Xamarin Essentials Android | Latest |
Xamarin Essentials iOS | Latest |
Xamarin Essentials Shared | Latest |
Xamarin Essentials TVOS | Latest |
Xamarin Essentials UWP | Latest |
Xamarin Essentials WatchOS | Latest |