Permissions.IsDeclaredInManifest(String) Method
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.
Checks if a permission is declared in the Android manifest file.
public static bool IsDeclaredInManifest (string permission);
Parameters
- permission
- System.String
The name of the specific permission in the manifest to check.
Returns
System.Boolean
If the permission is declared or not.