Miranda Purposes

What does the court consider “custody” for Miranda purposes? Please explain.
ACME WRITERS

                                                                                                                        ACME Writers