MediaCapturePauseResult 類別

定義

提供上次擷取的畫面格,以及已暫停之媒體擷取作業的錄製持續時間。

public ref class MediaCapturePauseResult sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.GCPressure]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
class MediaCapturePauseResult final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.GCPressure]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
public sealed class MediaCapturePauseResult : System.IDisposable
Public NotInheritable Class MediaCapturePauseResult
Implements IDisposable
繼承
Object Platform::Object IInspectable MediaCapturePauseResult
屬性
實作

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)
應用程式功能
backgroundMediaRecording

備註

呼叫 PauseRecordWithResultAsync以取得此類別的實例。

如需在錄製影片時暫停和繼續操作指南,請參閱 使用 MediaCapture 進行基本相片、視訊和音訊擷取

屬性

LastFrame

取得 VideoFrame ,表示在擷取作業暫停之前擷取的最後一個畫面。

RecordDuration

取得擷取作業暫停之前所擷取的媒體持續時間。

方法

Close()

關閉 物件並處置相關聯的資源。

Dispose()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。

適用於

另請參閱