Udostępnij za pośrednictwem


MediaCapture.PrepareLowLagRecordToCustomSinkAsync Method

Definition

Overloads

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.

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.

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:
 virtual IAsyncOperation<LowLagMediaRecording ^> ^ PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile ^ encodingProfile, IMediaExtension ^ customMediaSink) = PrepareLowLagRecordToCustomSinkAsync;
/// [Windows.Foundation.Metadata.Overload("PrepareLowLagRecordToCustomSinkAsync")]
IAsyncOperation<LowLagMediaRecording> PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile const& encodingProfile, IMediaExtension const& customMediaSink);
[Windows.Foundation.Metadata.Overload("PrepareLowLagRecordToCustomSinkAsync")]
public IAsyncOperation<LowLagMediaRecording> PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile encodingProfile, IMediaExtension customMediaSink);
function prepareLowLagRecordToCustomSinkAsync(encodingProfile, customMediaSink)
Public Function PrepareLowLagRecordToCustomSinkAsync (encodingProfile As MediaEncodingProfile, customMediaSink As IMediaExtension) As IAsyncOperation(Of LowLagMediaRecording)

Parameters

encodingProfile
MediaEncodingProfile

The encoding profile to use for the recording.

customMediaSink
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.

Attributes

Windows requirements

App capabilities
backgroundMediaRecording

See also

Applies to

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:
 virtual IAsyncOperation<LowLagMediaRecording ^> ^ PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile ^ encodingProfile, Platform::String ^ customSinkActivationId, IPropertySet ^ customSinkSettings) = PrepareLowLagRecordToCustomSinkAsync;
/// [Windows.Foundation.Metadata.Overload("PrepareLowLagRecordToCustomSinkIdAsync")]
IAsyncOperation<LowLagMediaRecording> PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile const& encodingProfile, winrt::hstring const& customSinkActivationId, IPropertySet const& customSinkSettings);
[Windows.Foundation.Metadata.Overload("PrepareLowLagRecordToCustomSinkIdAsync")]
public IAsyncOperation<LowLagMediaRecording> PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile encodingProfile, string customSinkActivationId, IPropertySet customSinkSettings);
function prepareLowLagRecordToCustomSinkAsync(encodingProfile, customSinkActivationId, customSinkSettings)
Public Function PrepareLowLagRecordToCustomSinkAsync (encodingProfile As MediaEncodingProfile, customSinkActivationId As String, customSinkSettings As IPropertySet) As IAsyncOperation(Of LowLagMediaRecording)

Parameters

encodingProfile
MediaEncodingProfile

The encoding profile to use for the recording.

customSinkActivationId
String

Platform::String

winrt::hstring

The activatable class ID of the media extension for the custom media sink.

customSinkSettings
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.

Attributes

Windows requirements

App capabilities
backgroundMediaRecording

See also

Applies to