MediaCapture.PrepareLowLagPhotoCaptureAsync(ImageEncodingProperties) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes the low shutter lag photo capture and provides the LowLagPhotoCapture object used to manage the recording.
public:
virtual IAsyncOperation<LowLagPhotoCapture ^> ^ PrepareLowLagPhotoCaptureAsync(ImageEncodingProperties ^ type) = PrepareLowLagPhotoCaptureAsync;
IAsyncOperation<LowLagPhotoCapture> PrepareLowLagPhotoCaptureAsync(ImageEncodingProperties const& type);
public IAsyncOperation<LowLagPhotoCapture> PrepareLowLagPhotoCaptureAsync(ImageEncodingProperties type);
function prepareLowLagPhotoCaptureAsync(type)
Public Function PrepareLowLagPhotoCaptureAsync (type As ImageEncodingProperties) As IAsyncOperation(Of LowLagPhotoCapture)
Parameters
The encoding profile used for the image.
Returns
When this method completes, a LowLagPhotoCapture object is returned which can be used to start the photo capture.
Windows requirements
App capabilities |
backgroundMediaRecording
|
Remarks
Use PrepareLowLagPhotoCaptureAsync to initialize the capture. This is an asynchronous calls which returns a LowLagPhotoCapture object when it is finished, which is used to start the actual photo capture by calling LowLagPhotoCapture.CaptureAsync.
PrepareLowLagPhotoCaptureAsync must be called before LowLagPhotoCapture.CaptureAsync.
For how-to guidance on using LowLagPhotoCapture to capture a photo, see Basic photo, video, and audio capture with MediaCapture.