Microsoft
70-354 · Question #25
70-354 Question #25: Real Exam Question with Answer & Explanation
The solution shows the 'Answer Area' code with elements placed as follows to verify camera presence: private static async Task(DeviceInformation) FindAllAsync(DevicePanel) desiredPanel) var allVideoDevices = await DeviceClass.VideoCapture.FindAllAsync(); Additional placeholders f
Question
Drag and Drop Question You are developing a Universal Windows Platform (UWP) app that will be used on desktop computers and phones. The app will use facial recognition. You need to develop a method that verifies whether a camera is present. How should you complete the code? To answer, drag the appropriate code elements to the correct targets. Each element may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
Explanation
The solution shows the 'Answer Area' code with elements placed as follows to verify camera presence:
private static async Task(DeviceInformation)
FindAllAsync(DevicePanel) desiredPanel)
var allVideoDevices = await DeviceClass.VideoCapture.FindAllAsync();
Additional placeholders for 'Code element' are present, including FindAllAsync(DeviceClass.ImageScanner).
Community Discussion
No community discussion yet for this question.