Permissions.NetworkState Class
Definition
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 to access the network state.
public class Permissions.NetworkState : Xamarin.Essentials.Permissions.BasePlatformPermission
- Inheritance
-
System.ObjectPermissions.NetworkState
Constructors
Permissions.NetworkState() |
Public constructor for permission. |
Properties
RecommendedInfoPlistKeys | (Inherited from Permissions.BasePlatformPermission) |
RequiredDeclarations |
Get a list of required declarations. (Inherited from Permissions.BasePlatformPermission) |
RequiredInfoPlistKeys |
Get a list of required keys in the info.plist. (Inherited from Permissions.BasePlatformPermission) |
RequiredPermissions |
Get a list of required permissions. |
RequiredPermissions |
Get a list of required permissions. (Inherited from Permissions.BasePlatformPermission) |
Methods
CheckStatusAsync() |
Checks the status of a specific permission. (Inherited from Permissions.BasePlatformPermission) |
EnsureDeclared() |
Ensures that all permissions are declared. (Inherited from Permissions.BasePlatformPermission) |
RequestAsync() |
Request a specific permission from the user. (Inherited from Permissions.BasePlatformPermission) |
ShouldShowRationale() |
Gets whether you should show UI with rationale for requesting a permission. (Inherited from Permissions.BasePlatformPermission) |