Detect WhatsApp call has been rejected

mmjoshi

Member
How do I detect that a WhatsApp call has been rejected? I have written a macro to play a sound when a particular caller calls me and the phone is in the silent mode. I am able to detect that a WhatsApp call has been received and also know the caller's name. I can play the sound when these conditions are met. Also, the sound stops after either I answer the call or a certain time duration has elapsed. Now I want to stop the sound when I reject the call.

I could not figure out how to detect that the WhatsApp call has been rejected from the notification present condition.
 

mmjoshi

Member
Use that as the trigger to stop the sound.

Are you familiar with using multiple triggers in a macro?
To some extent. However not very familiar with notifications from apps. Confused about how to know status of WhatsApp calls especially how to know whether call is incoming, being answered or rejected. Any help to differentiate between these states is appreciated.
 

Pseudocyclic

Well-known member
I don't think you will be able to detect the current status of a WhatsApp call, but if there are notifications when the status changes then you should be able to track the status from those using the Notification trigger.
 
Top