⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

Permission.State

static PermissionState State(PermissionType permission)

Retreives the current state of a particular permission. This is a fast check, so it’s fine to call frequently.

   
PermissionType permission The permission you’re interested in.
RETURNS: PermissionState Check PermissionState for details.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!