getProtection

open fun getProtection(@NonNull permissionInfo: @NonNull PermissionInfo): Int

Return the base permission type of a PermissionInfo.