let vct = CPVoiceControlTemplate(voiceControlStates: [
CPVoiceControlState(identifier: VoiceControlStates.loading.rawValue, titleVariants: ["loading"], image: nil, repeats: true),
CPVoiceControlState(identifier: VoiceControlStates.listening.rawValue, titleVariants: ["listening"], image: nil, repeats: true),
CPVoiceControlState(identifier: VoiceControlStates.recognized.rawValue, titleVariants: ["recognized"], image: nil, repeats: true)
])
carPlayManager.interfaceController?.presentTemplate(vct, animated: true)
Upon a button action I am calling the above code, but nothing happens in Car Play, when we speak, how to catch the recognised audio input. Any examples will helpful