This site permanently moved to
https://droidscript.github.io
. Please update links accordingly.
You are being forwarded automatically in 3...
[stay here]
Back
ListPermissions
Hello World
Returns a list of granted permissions
See Also:
GetPermission
CheckPermission
RemovePermission
.
app.ListPermissions(
type
) →
List:
[
perm
]
Example - List Permissions
click to expand contents
function
OnStart
(
perms
)
{
var
perms
=
app
.
ListPermissions
(
"storage"
)
;
app
.
Alert
(
perms
,
"Permissions:"
)
;
}
Copy All
Run
String:
URI encoded
String:
“Camera”
or
“Storage”
or
“ExtSDcard”
or
“Network”
or
“Notify”
or
“Location”
or
“SMS”
or
“Calendar”
or
“Body”
or
“Contacts”
or
“Record”
or
“Biometric”
or
“Phone”
or
“Accounts”
or
“License”
loading