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

Permission.Request

static void Request(PermissionType permission)

This sends off a request to the OS for a particular permission! If the permission IsInteractive, then this will bring up a popup that the user may need to interact with. Otherwise, this will silently approve the permission. This means that the permission may take an arbitrary amount of time before it’s approved, or declined.

If your app is an Android Service, this function will do nothing.

   
PermissionType permission The permission to request.




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