The Miranda warning is constitutionally required whenever someone is detained by the police.