Of the court houses I have seen none have allowed you to bring in recording devices. I assumed it was the norm.
I fought for the right to being in recording devices in CT. I was successful. You can now bring in recording devices into courthouses.
If you can use them inside active courtrooms is up to the judge(s). But I routinely use my recording devices inside courthouses. No need to inform of recording a face to face conversation in my state (yours may be different).
I get many gov't officials on tape lying to me via recording. Political fodder....
Of course, my viewpoint is that all recording is OK, regardless of where, when, how....I work to effect this being acknowledged by the .govs who hate America.