MediaCapture.StartRecordToCustomSinkAsync MediaCapture.StartRecordToCustomSinkAsync MediaCapture.StartRecordToCustomSinkAsync MediaCapture.StartRecordToCustomSinkAsync MediaCapture.StartRecordToCustomSinkAsync Method

Definition

Overloads

StartRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension) StartRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension) StartRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension) StartRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension) StartRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension)

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

StartRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet) StartRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet) StartRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet) StartRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet) StartRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet)

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

StartRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension) StartRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension) StartRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension) StartRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension) StartRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension)

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

public : IAsyncAction StartRecordToCustomSinkAsync(MediaEncodingProfile encodingProfile, IMediaExtension customMediaSink)
IAsyncAction StartRecordToCustomSinkAsync(MediaEncodingProfile encodingProfile, IMediaExtension customMediaSink) const;
public IAsyncAction StartRecordToCustomSinkAsync(MediaEncodingProfile encodingProfile, IMediaExtension customMediaSink)
Public Function StartRecordToCustomSinkAsync(encodingProfile As MediaEncodingProfile, customMediaSink As IMediaExtension) As IAsyncAction
Windows.Media.Capture.MediaCapture.startRecordToCustomSinkAsync(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

An object that is used to control the asynchronous operation.

Additional features and requirements

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

StartRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet) StartRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet) StartRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet) StartRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet) StartRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet)

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

public : IAsyncAction StartRecordToCustomSinkAsync(MediaEncodingProfile encodingProfile, Platform::String customSinkActivationId, IPropertySet customSinkSettings)
IAsyncAction StartRecordToCustomSinkAsync(MediaEncodingProfile encodingProfile, winrt::hstring customSinkActivationId, IPropertySet customSinkSettings) const;
public IAsyncAction StartRecordToCustomSinkAsync(MediaEncodingProfile encodingProfile, String customSinkActivationId, IPropertySet customSinkSettings)
Public Function StartRecordToCustomSinkAsync(encodingProfile As MediaEncodingProfile, customSinkActivationId As String, customSinkSettings As IPropertySet) As IAsyncAction
Windows.Media.Capture.MediaCapture.startRecordToCustomSinkAsync(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

An object that is used to control the asynchronous operation.

Additional features and requirements

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