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.
I could not figure out how to detect that the WhatsApp call has been rejected from the notification present condition.