通话过程中自动语音留言 [英] Automatic Voice Message during Phone call

查看:170
本文介绍了通话过程中自动语音留言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发使用Java的Andr​​oid应用程序。

I am developing an Android app with java.

我很好奇,如果有可能有一个自动语音消息(帮助,我需要一辆救护车),在通话中。我明白,一旦你拨打电话的方法离开应用程序打个电话。是否有可能运行一个文本到语音的功能,而在通话过程中?这样的电话呼叫可在电话呼叫期间拿起从文本到语音功能的音频

I was curious if it is possible to have an automatic voice message ("Help, I Need an Ambulance") during a phone call. I understand that once you call the phone call method it leaves the application to make a phone call. Is it possible to run a text-to-speech function while the phone call is in progress? That way the phone call can pick up the audio from the text-to-speech function during the phone call.

推荐答案

没有,这恐怕是不可能的。

No, I'm afraid this isn't possible.

有没有音频接口来进行电话呼叫,也没有任何其他接口与电话交互。甚至一些作为相对直接的像发送DTMF音调是不可能的,而不特别进入它们作为拨打该号码,以及基本动作如挂断呼叫的只能通过隐藏接口。

There is no audio interface for phone calls, nor any other interface for interacting with telephony. Even something as relatively straight-forward as sending DTMF tones isn't possible without specifically entering them as part of the number to dial, and a basic operation such as hanging up the call is only possible through hidden interfaces.

(虽然有 AudioManager.STREAM_VOICE_CALL ,它可以仅用于调节通话音量。)

(While there is AudioManager.STREAM_VOICE_CALL, it can only be used to regulate the in-call volume.)

这篇关于通话过程中自动语音留言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆