Microsoft
70-481 · Question #120
70-481 Question #120: Real Exam Question with Answer & Explanation
The correct answer is C. Using the MediaCapture class, test for the value returned by the async method.. See the full explanation below for the reasoning.
Question
You are developing a Windows Store app that will access a device's webcam. All necessary device capabilities have been declared in the app manifest. The app must not throw an error if the user has declined or revoked permission to the webcam. You need to identify whether the app has permission to use the webcam. What should you do?
Options
- AUsing the CameraCaptureUI class, test for the value returned by the CaptureFileAsync method.
- BUsing the CameraCaptureUI class, test for the value returned by the videoSettings property.
- CUsing the MediaCapture class, test for the value returned by the async method.
- DUsing the MediaCapture class, test for the value returned by the MediaCaptureSettings property.
Community Discussion
No community discussion yet for this question.