After you install an iPhone shortcut called "Pulled Over By Police" all you have to say is "Siri, I’m being pulled over” and the shortcut will record the encounter.
From CBS Sacramento:
You give the command, “I’m being pulled over” and the program pauses any music you were playing, goes into ‘do not disturb’ mode, dims the phone’s brightness, and starts recording on the phone’s front-facing camera. Further, once you stop the recording it will send the video to a designated contact.