Version: 2017.1

PhotoCapture.StartPhotoModeAsync(CameraParameters,bool,OnPhotoModeStartedCallback)

切换到手册

参数

setupParams 应该应用到网络摄像机的各种设置。
onPhotoModeStartedCallback 将在照片模式激活后调用此回调。

描述

异步启动照片模式。

Activates the web camera with the various settings specified in CameraParameters. Only one PhotoCapture instance can start the photo mode at any given time. After starting the photo mode, you make take photos via PhotoCapture.TakePhotoAsync. While in photo mode, more power will be consumed so make sure that you call PhotoCapture.StopPhotoModeAsync when you are done taking photos.