Skip to content

Std permissions checkpermission

std:std.permissions.CheckPermission

Function CheckPermission:Int( permission:String )#

Check an android permission.

This function is only available on android.

Returns 1 if the given permission has been granted to the app, else 0.

The permission string should be in android manifest form, eg: "android.permission.READ_EXTERNAL_STORAGE".