Contents

CPVoiceControlTemplate

A template that displays a voice control indicator during audio input.

Declaration

@MainActor class CPVoiceControlTemplate

Overview

CarPlay navigation apps must show a voice control indicator during audio input by presenting a voice control template. When creating the template, provide one or more CPVoiceControlState objects. To switch between states, call the activateVoiceControlState(withIdentifier:) method.

Topics

Creating a Voice Control Template

Activating a State

Getting Available States

Instance Properties

See Also

Navigation