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.
Applies to
See also
प्रतिक्रिया
https://aka.ms/ContentUserFeedback.
जल्द आ रहा है: 2024 के दौरान हम सामग्री के लिए फीडबैक तंत्र के रूप में GitHub मुद्दों को चरणबद्ध तरीके से समाप्त कर देंगे और इसे एक नई फीडबैक प्रणाली से बदल देंगे. अधिक जानकारी के लिए, देखें:के लिए प्रतिक्रिया सबमिट करें और देखें