partial void listenButton_TouchUpInside(UIButton sender) { InvokeInBackground(() => { AVAudioSession.SharedInstance().SetActive(true); aiService.StartListening(); }); }
partial void listenButton_TouchUpInside(UIButton sender) { InvokeInBackground(() => { AVAudioSession.SharedInstance().SetActive(true); aiService.StartListening(); }); aiService.ListeningStarted += AiService_ListeningStarted; aiService.ListeningFinished += AiService_ListeningFinished; aiService.AudioLevelChanged += AiService_AudioLevelChanged; }
void buttonListen_Click(object sender, EventArgs e) { StartParallel(() => aiService.StartListening()); }
public void StartApiAiService() { _aiService.StartListening(); }
public void StartListening() { InvokeInBackground(() => aiService.StartListening()); }
partial void listenButton_TouchUpInside(UIButton sender) { InvokeInBackground(() => aiService.StartListening()); }