PermissionType
Namespace: Wisej.Hybrid
Assembly: Wisej.Hybrid (4.1.0.0)
Represents the available device permission types. Each enum member corresponds to a specific type of device permission that an application can request.
- C#
- VB.NET
public enum PermissionType
Public Enum PermissionType
Fields
| Name | Description | Value |
|---|---|---|
| CalendarRead | Permission to read calendar data. | |
| CalendarWrite | Permission to write to the calendar. | |
| Camera | Permission to use the camera. | |
| ContactsRead | Permission to read contacts. | |
| ContactsWrite | Permission to write to contacts. | |
| Flashlight | Permission to use the flashlight. | |
| LocationAlways | Permission to always access location information. | |
| LocationWhenInUse | Permission to access location information while the app is in use. | |
| Media | Permission to access media files. | |
| Microphone | Permission to use the microphone. | |
| Phone | Permission to access phone features. | |
| Photos | Permission to access photos. | |
| Reminders | Permission to access reminders. | |
| Sensors | Permission to access device sensors. | |
| Sms | Permission to send and receive SMS. | |
| Speech | Permission to use speech recognition. | |
| StorageRead | Permission to read storage. | |
| StorageWrite | Permission to write to storage. |
Used By
| Name | Description |
|---|---|
| DevicePermissions.Request | Requests the specified permission from the user. |
| DevicePermissions.RequestAsync | Requests the specified permission from the user. |
| DevicePermissions.Check | Checks the status of the specified permission. |
| DevicePermissions.CheckAsync | Checks the status of the specified permission. |
| DevicePermissions.ShouldShowRationale | Determines if an educational user interface should be displayed to explain how the specified permission will be used in the application. |
| DevicePermissions.ShouldShowRationaleAsync | Determines if an educational user interface should be displayed to explain how the specified permission will be used in the application. |