I need to update some of my Android Applications to Pause processing when Zoom Phone app is in a Call. Does the Zoom Phone App update the device Phone State?
Meaning: If I listen for this action android.intent.action.PHONE_STATE
And check the Audio Service, will I know if Zoom is in a Call?
AudioManager manager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
boolean isInCall = manager.getMode() == AudioManager.MODE_IN_CALL
|| manager.getMode() == AudioManager.MODE_IN_COMMUNICATION
|| manager.getMode() == AudioManager.MODE_RINGTONE;
If Zoom App does not update the Phone State within Android, is there another Broadcast INTENT that I can listen for that gives me information about the Zoom call state?