Returns one or all the permissions declared by the application.
//Displays the list of application permissions
FOR EACH ELEMENT Perm OF PermissionList()
Listing all the permissions declared by the application Hide the details
<Result> = PermissionList()
<Result>: Array of Permission variables
Array of Permission variables containing the list of permissions declared by the application.
Getting a specific permission declared by the application Hide the details
<Result> = PermissionList(<Permission>)
<Result>: Permission variable
Permission variable that corresponds to the specified permission. If the permission has not been declared by the application, a fatal error will be displayed.
<Permission>: Character string or constant
Name of the permission to request. This parameter can correspond to:
- a character string with the following format: android.permission.<NAME>. The list of permissions of the Android SDK can be found at: https://developer.android.com/reference/android/Manifest.permission.
- one of the following constants:
|permBackgroundLocation||Permission to access the device's location when the application is running in the background.|
|permCamera||Permission to access the device camera(s). |
|permFineLocation||Permission to access the device's precise location.|
|permLocation||Permission to access the device's location.|
|permManageExternalStorage||Permission to manage external storage.|
|permReadContact||Permission to read contacts. |
|permReadPhoneState||Permission to access phone information. |
|permRecordAudio||Permission to record audio streams. |
|permSendSMS||Permission to send SMSes.|
|permWriteContact||Permission to modify contacts. |
|permWriteExternalStorage||Permission to write on the external storage. |
Business / UI classification: Neutral code