if (CaptureDeviceConfiguration.AllowedDeviceAccess || CaptureDeviceConfiguration.RequestDeviceAccess...if (CaptureDeviceConfiguration.AllowedDeviceAccess || CaptureDeviceConfiguration.RequestDeviceAccess...if (CaptureDeviceConfiguration.AllowedDeviceAccess || CaptureDeviceConfiguration.RequestDeviceAccess
稍做解释: 1.先得到一个VideoCaptureDevice对象 2.然后调用CaptureDeviceConfiguration.RequestDeviceAccess()方法询问用户是否允许使用该设备
; return; } if (CaptureDeviceConfiguration.RequestDeviceAccess
RoutedEventArgs e) { if (CaptureDeviceConfiguration.AllowedDeviceAccess || CaptureDeviceConfiguration.RequestDeviceAccess
领取专属 10元无门槛券
手把手带您无忧上云