Reputation: 4528
I would like my sales staff to click a button, which makes a phonecall and registers the length of the call.
Is it possible to monitor the length of a phonecall?
Thanks
Upvotes: 1
Views: 340
Reputation: 50682
No, the PhoneCallTask
does not provide this kind of information. But you could register the current time just before the call starts and get the current time when the app resumes.
However, this might be longer than the actual phone call when the user or phone decides to do something else in between.
EDIT
Apparently, after being corrected by @JaredBienz-MSFT and and testing it, the Show method of the PhoneCallTask is not blocking. So my 'trick' will not work.
Upvotes: 1