MediaCapture.PrepareLowLagRecordToCustomSinkAsync
MediaCapture.PrepareLowLagRecordToCustomSinkAsync
MediaCapture.PrepareLowLagRecordToCustomSinkAsync
MediaCapture.PrepareLowLagRecordToCustomSinkAsync
MediaCapture.PrepareLowLagRecordToCustomSinkAsync
Method
Definition
Overloads
PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension) PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension) PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension) PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension) PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension)
Initializes the low lag recording using the specified custom sink to store the recording. This method provides the LowLagMediaRecording object used to managed the capture.
public : IAsyncOperation<LowLagMediaRecording> PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile encodingProfile, IMediaExtension customMediaSink)
IAsyncOperation<LowLagMediaRecording> PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile encodingProfile, IMediaExtension customMediaSink) const;
public IAsyncOperation<LowLagMediaRecording> PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile encodingProfile, IMediaExtension customMediaSink)
Public Function PrepareLowLagRecordToCustomSinkAsync(encodingProfile As MediaEncodingProfile, customMediaSink As IMediaExtension) As IAsyncOperation(Of LowLagMediaRecording)
Windows.Media.Capture.MediaCapture.prepareLowLagRecordToCustomSinkAsync(encodingProfile, customMediaSink).done( /* Your success and error handlers */ );
Parameters
- encodingProfile
- MediaEncodingProfile MediaEncodingProfile MediaEncodingProfile
The encoding profile to use for the recording.
- customMediaSink
- IMediaExtension IMediaExtension IMediaExtension
The media extension for the custom media sink.
Returns
When this method completes, a LowLagMediaRecording object is returned which can be used to start the photo capture.
Additional features and requirements
Capabilities |
backgroundMediaRecording
|
- See also
-
PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet)PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet)PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet)PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet)PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet)
PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet) PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet) PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet) PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet) PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet)
Initializes the low lag recording using the specified custom sink to store the recording. This method provides the LowLagMediaRecording object used to managed the recording.
public : IAsyncOperation<LowLagMediaRecording> PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile encodingProfile, Platform::String customSinkActivationId, IPropertySet customSinkSettings)
IAsyncOperation<LowLagMediaRecording> PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile encodingProfile, winrt::hstring customSinkActivationId, IPropertySet customSinkSettings) const;
public IAsyncOperation<LowLagMediaRecording> PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile encodingProfile, String customSinkActivationId, IPropertySet customSinkSettings)
Public Function PrepareLowLagRecordToCustomSinkAsync(encodingProfile As MediaEncodingProfile, customSinkActivationId As String, customSinkSettings As IPropertySet) As IAsyncOperation(Of LowLagMediaRecording)
Windows.Media.Capture.MediaCapture.prepareLowLagRecordToCustomSinkAsync(encodingProfile, customSinkActivationId, customSinkSettings).done( /* Your success and error handlers */ );
Parameters
- encodingProfile
- MediaEncodingProfile MediaEncodingProfile MediaEncodingProfile
The encoding profile to use for the recording.
- customSinkActivationId
- String String String
The activatable class ID of the media extension for the custom media sink.
- customSinkSettings
- IPropertySet IPropertySet IPropertySet
Contains properties of the media extension.
Returns
When this method completes, a LowLagMediaRecording object is returned which can be used to start the photo capture.
Additional features and requirements
Capabilities |
backgroundMediaRecording
|
- See also
-
PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension)PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension)PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension)PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension)PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension)
Feedback
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.
Loading feedback...