Press shift + S to search API reference.
interface UnsuccessfulPermissionCheckResult
hasPermission
false
reasonDisplayString
string
A string explaining why the action is not permitted. These strings should only be used to show to the user; you should not rely on the format of the string as it may change without notice.