PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
New WINDEV Mobile 26 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns one or all the permissions declared by the application.
Example
//Displays the list of application permissions
FOR EACH ELEMENT Perm OF PermissionList()
ListAdd(LIST_Permission, Perm.Nom)
END
Syntax

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:
    permCameraPermission to access the device camera(s).
    permWriteContactPermission to modify contacts.
    permWriteExternalStoragePermission to write on the external storage.
    permRecordAudioPermission to record audio streams.
    permSendSMSPermission to send SMSes.
    permManageExternalStoragePermission to manage external storage.
    permReadContactPermission to read contacts.
    permReadPhoneStatePermission to access phone information.
    permLocationPermission to access the device's location.
    permBackgroundLocationPermission to access the device's location when the application is running in the background.
    permFineLocationPermission to access the device's precise location.
Remarks
To request a permission, use PermissionRequest.
Business / UI classification: Neutral code
Component: wd260android.aar
Minimum version required
  • Version 26
Comments
Click [Add] to post a comment