Added methods to test whether user has prohibited access to the camera