Skip to main content

PermissionType

Namespace: Wisej.Hybrid.Shared.Permissions

Assembly: Wisej.Hybrid

Represents the available device permission types. Each enum member corresponds to a specific type of device permission that an application can request.

public enum PermissionType : Enum

Fields

NameDescription
CalendarReadPermission to read calendar data.
CalendarWritePermission to write to the calendar.
CameraPermission to use the camera.
ContactsReadPermission to read contacts.
ContactsWritePermission to write to contacts.
FlashlightPermission to use the flashlight.
LocationAlwaysPermission to always access location information.
LocationWhenInUsePermission to access location information while the app is in use.
MediaPermission to access media files.
MicrophonePermission to use the microphone.
PhonePermission to access phone features.
PhotosPermission to access photos.
RemindersPermission to access reminders.
SensorsPermission to access device sensors.
SmsPermission to send and receive SMS.
SpeechPermission to use speech recognition.
StorageReadPermission to read storage.
StorageWritePermission to write to storage.

Used By

NameDescription
DevicePermissions.RequestRequests the specified permission from the user.
DevicePermissions.CheckChecks the status of the specified permission.
DevicePermissions.ShouldShowRationaleDetermines if an educational user interface should be displayed to explain how the specified permission will be used in the application.