码迷,mamicode.com
首页 > 其他好文 > 详细

Is there a way to detect if call is in progress? Phone Event

时间:2015-05-18 07:49:41      阅读:95      评论:0      收藏:0      [点我收藏+]

标签:

First you need 3 profiles to monitor the phone state:

Event: Phone Idle
Variable Clear %Phoning

Event: Phone Offhook
Variable Set, %Phoning, 1

Event: Phone Ringing
Variable Set, %Phoning, 1

Then you can use ‘If %Phoning Is Set‘ to see if you‘re phoning.

Is there a way to detect if call is in progress? Phone Event

标签:

原文地址:http://www.cnblogs.com/shangdawei/p/4511011.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!