AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones específicas para móviles / Funciones de permisos
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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:
    permBackgroundLocationPermission to access the device's location when the application is running in the background.
    permCameraPermission to access the device camera(s).
    permFineLocationPermission to access the device's precise location.
    permLocationPermission to access the device's location.
    permManageExternalStoragePermission to manage external storage.
    permReadContactPermission to read contacts.
    permReadPhoneStatePermission to access phone information.
    permRecordAudioPermission to record audio streams.
    permSendSMSPermission to send SMSes.
    permWriteContactPermission to modify contacts.
    permWriteExternalStoragePermission to write on the external storage.
Remarks
To request a permission, use PermissionRequest.
Business / UI classification: Neutral code
Component: wd290android.aar
Versión mínima requerida
  • Versión 26
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local