MediaCapture.PrepareLowLagRecordToCustomSinkAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension) |
使用指定的自訂接收來儲存錄製,初始化低延遲錄製。 這個方法提供用來管理擷取的 LowLagMediaRecording 物件。 |
PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet) |
使用指定的自訂接收來儲存錄製,初始化低延遲錄製。 這個方法提供用來管理錄製的 LowLagMediaRecording 物件。 |
PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension)
使用指定的自訂接收來儲存錄製,初始化低延遲錄製。 這個方法提供用來管理擷取的 LowLagMediaRecording 物件。
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)
參數
- encodingProfile
- MediaEncodingProfile
要用於錄製的編碼設定檔。
- customMediaSink
- IMediaExtension
自訂媒體接收的媒體延伸模組。
傳回
此方法完成時,會傳回 LowLagMediaRecording 物件,可用來啟動相片擷取。
- 屬性
Windows 需求
應用程式功能 |
backgroundMediaRecording
|
另請參閱
適用於
PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet)
使用指定的自訂接收來儲存錄製,初始化低延遲錄製。 這個方法提供用來管理錄製的 LowLagMediaRecording 物件。
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)
參數
- encodingProfile
- MediaEncodingProfile
要用於錄製的編碼設定檔。
- customSinkActivationId
-
String
Platform::String
winrt::hstring
自訂媒體接收之媒體延伸模組的可啟用類別識別碼。
- customSinkSettings
- IPropertySet
包含媒體延伸模組的屬性。
傳回
此方法完成時,會傳回 LowLagMediaRecording 物件,可用來啟動相片擷取。
- 屬性
Windows 需求
應用程式功能 |
backgroundMediaRecording
|