如何在 MediaCapture 中禁用对焦辅助灯?

How to disable focus assist light in MediaCapture?

我正在尝试禁用对焦辅助灯,但在 MediaCapture.VideoDeviceController.FocusControl

中找不到有效的方法或 属性

Windows Phone 的相机应用程序允许配置对焦辅助灯:

查看 Microsoft Windows 通用示例 GitHub 存储库中的 CameraManualControls SDK sample

您会在 FlashControl:

下找到设置它所必需的 属性
private void FocusLightCheckBox_CheckedChanged(object sender, RoutedEventArgs e)
{
    var flashControl = _mediaCapture.VideoDeviceController.FlashControl;

    flashControl.AssistantLightEnabled = (FocusLightCheckBox.IsChecked == true);
}