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

Permission.IsInteractive

static bool IsInteractive(PermissionType permission)

Might requesting this permission interrupt the user with a popup? This is a prediction from how sensitive the platform considers the permission, not a promise. The system can still grant one silently, most often when the user already approved a related permission earlier in the session, so a true here means “may interrupt” rather than “will”.

There’s no way to know for certain in advance, since the answer depends on what the user has already agreed to.

   
PermissionType permission The permission you’re interested in.
RETURNS: bool True if the permission requires user interaction, false otherwise.




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