Jaa


MediaCapture.StartRecordToCustomSinkAsync Method

Definition

Overloads

StartRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension)

Start recording to a custom media sink using the specified encoding profile.

StartRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet)

Start recording to a custom media sink using the specified encoding profile and sink settings.

StartRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension)

Start recording to a custom media sink using the specified encoding profile.

public:
 virtual IAsyncAction ^ StartRecordToCustomSinkAsync(MediaEncodingProfile ^ encodingProfile, IMediaExtension ^ customMediaSink) = StartRecordToCustomSinkAsync;
/// [Windows.Foundation.Metadata.Overload("StartRecordToCustomSinkAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction StartRecordToCustomSinkAsync(MediaEncodingProfile const& encodingProfile, IMediaExtension const& customMediaSink);
[Windows.Foundation.Metadata.Overload("StartRecordToCustomSinkAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction StartRecordToCustomSinkAsync(MediaEncodingProfile encodingProfile, IMediaExtension customMediaSink);
function startRecordToCustomSinkAsync(encodingProfile, customMediaSink)
Public Function StartRecordToCustomSinkAsync (encodingProfile As MediaEncodingProfile, customMediaSink As IMediaExtension) As IAsyncAction

Parameters

encodingProfile
MediaEncodingProfile

The encoding profile to use for the recording.

customMediaSink
IMediaExtension

The media extension for the custom media sink.

Returns

An object that is used to control the asynchronous operation.

Attributes

Windows requirements

App capabilities
backgroundMediaRecording

Remarks

A RecordLimitationExceeded event is raised if the record limit is exceeded. In the current release, record limit is three hours.

See also

Applies to

StartRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet)

Start recording to a custom media sink using the specified encoding profile and sink settings.

public:
 virtual IAsyncAction ^ StartRecordToCustomSinkAsync(MediaEncodingProfile ^ encodingProfile, Platform::String ^ customSinkActivationId, IPropertySet ^ customSinkSettings) = StartRecordToCustomSinkAsync;
/// [Windows.Foundation.Metadata.Overload("StartRecordToCustomSinkIdAsync")]
IAsyncAction StartRecordToCustomSinkAsync(MediaEncodingProfile const& encodingProfile, winrt::hstring const& customSinkActivationId, IPropertySet const& customSinkSettings);
[Windows.Foundation.Metadata.Overload("StartRecordToCustomSinkIdAsync")]
public IAsyncAction StartRecordToCustomSinkAsync(MediaEncodingProfile encodingProfile, string customSinkActivationId, IPropertySet customSinkSettings);
function startRecordToCustomSinkAsync(encodingProfile, customSinkActivationId, customSinkSettings)
Public Function StartRecordToCustomSinkAsync (encodingProfile As MediaEncodingProfile, customSinkActivationId As String, customSinkSettings As IPropertySet) As IAsyncAction

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

An object that is used to control the asynchronous operation.

Attributes

Windows requirements

App capabilities
backgroundMediaRecording

Remarks

A RecordLimitationExceeded event is raised if the record limit is exceeded. In the current release, the record limit is three hours.

See also

Applies to