问题描述
这是一个场景:
我从我的应用程序发出一个电话。当呼叫结束时,我需要触发诸如调用Web服务的事件。在核心电话框架工作中如何使用CTcallcenter?你可以使用为此目的
CTCallStateDialing
在建立连接之前,当用户发起呼叫时。
CTCallStateIncoming
呼叫状态在连接建立之前,是传入但尚未被用户应答。
CTCallStateConnected
当所有各方完全建立呼叫时的通话状态参与其中。
CTCallStateDisconnected
呼叫终止时的通话状态
Here is a scenario:I make a call from my application .When the call ends i need to fire a event such as calling a web service .How can do with CTcallcenter in core telephony frame work ?
Thank you
you can use Cellular Call States for this purpose
CTCallStateDialing
The call state, before connection is established, when the user initiates the call.
CTCallStateIncoming
The call state, before connection is established, when a call is incoming but not yet answered by the user.
CTCallStateConnected
The call state when the call is fully established for all parties involved.
CTCallStateDisconnected
The call state upon call termination.
这篇关于如何在我的Iphone应用程序中检测传入和传出呼叫END事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!