A detained hearing in court is like a bail hearing.
The detained hearing or detention hearing which is also known as a pretrial detention hearing in federal court is much like a bail hearing in state court.
The detained hearing or pretrial detention hearing is a hearing at which the court determines whether to detain the defendant without bail.
During the detained hearing the judge will decide if bail is gonna be an option or not and if so the judge will set bail.
In some cases in court especially if you're already convicted then you'll usually be detained in court and taken to jail which is known as remanded into custody.
So if a jury convicts you of a serious crime such as murder or robbery etc then you won't be going home after coming to court if you were at home before then.
The judge will order that you be remanded into custody and the Sheriff will arrest you in court and take you to jail.