电话状态 [英] Phone call state

查看:116
本文介绍了电话状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何以编程方式知道我正在打的电话是在另一边接到的? 我知道有一些电话状态,例如IDLE,OFFHOOK和RINGING. 我想通知我正在打出的电话,对方已断开或对方无人照管.

How do we know programmatically that the call I am making is received in the other side ? I know that there are some phone states like IDLE, OFFHOOK and RINGING. I want to be notified that the outgoing call I am making is received, is disconnected by the other side or is unattended by the other side.

请提出建议.

推荐答案

我了解的是,除非拥有内部程序包访问权限,否则我们无法区分OFFHOOK状态内部的各个状态.

What I understand is that we cannot differentiate among the various states inside the OFFHOOK state, unless we have the internal package access.

如果我们具有内部程序包访问权限,则只有我们才能知道连接的呼叫实际上是被对方接听,丢失还是断开.

If we have the internal package access then only we can know whether the call connected is actually received or missed or disconnected by the other side.

这篇关于电话状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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