If you are using iPhone or iPad, when the Mic is recording, you will see an orange dot at the top right corner. When the camera is in use, you will see a green dot at the top right corner.
However, for Android smartphone users, there is no such notification system in place. Therefore, you need to install ClevGuard Anti-Spyware app and get notifications when any app is using your phone mic or camera.