Back
ListPermissions
JS
Py
Hello World
Returns a list of granted permissions
See Also:
GetPermission
CheckPermission
RemovePermission
.
app.ListPermissions(
type
) →
List:
[
perm
]
Example - List Permissions
function
OnStart
(
perms
)
{
var
perms
=
app
.
ListPermissions
(
"storage"
)
;
app
.
Alert
(
perms
,
"Permissions:"
)
;
}
from
native
import
app
def
OnStart
(
)
:
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”