Share via


MediaCapture.StartRecordToCustomSinkAsync Methode

Definition

Überlädt

StartRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension)

Starten Sie die Aufzeichnung in einer benutzerdefinierten Mediensenke mithilfe des angegebenen Codierungsprofils.

StartRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet)

Starten Sie die Aufzeichnung in einer benutzerdefinierten Mediensenke mithilfe des angegebenen Codierungsprofils und der angegebenen Senkeneinstellungen.

StartRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension)

Starten Sie die Aufzeichnung in einer benutzerdefinierten Mediensenke mithilfe des angegebenen Codierungsprofils.

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

Parameter

encodingProfile
MediaEncodingProfile

Das Codierungsprofil, das für die Aufzeichnung verwendet werden soll.

customMediaSink
IMediaExtension

Die Medienerweiterung für die benutzerdefinierte Mediensenke.

Gibt zurück

Ein -Objekt, das zum Steuern des asynchronen Vorgangs verwendet wird.

Attribute

Windows-Anforderungen

App-Funktionen
backgroundMediaRecording

Hinweise

Ein RecordLimitationExceeded-Ereignis wird ausgelöst, wenn das Datensatzlimit überschritten wird. In der aktuellen Version beträgt das Datensatzlimit drei Stunden.

Weitere Informationen

Gilt für:

StartRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet)

Starten Sie die Aufzeichnung in einer benutzerdefinierten Mediensenke mithilfe des angegebenen Codierungsprofils und der angegebenen Senkeneinstellungen.

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

Parameter

encodingProfile
MediaEncodingProfile

Das Codierungsprofil, das für die Aufzeichnung verwendet werden soll.

customSinkActivationId
String

Platform::String

winrt::hstring

Die aktivierbare Klassen-ID der Medienerweiterung für die benutzerdefinierte Mediensenke.

customSinkSettings
IPropertySet

Enthält Eigenschaften der Medienerweiterung.

Gibt zurück

Ein -Objekt, das zum Steuern des asynchronen Vorgangs verwendet wird.

Attribute

Windows-Anforderungen

App-Funktionen
backgroundMediaRecording

Hinweise

Ein RecordLimitationExceeded-Ereignis wird ausgelöst, wenn das Datensatzlimit überschritten wird. In der aktuellen Version beträgt das Datensatzlimit drei Stunden.

Weitere Informationen

Gilt für: