MediaCaptureStopResult 類別

定義

提供最後一個擷取的畫面格,以及已停止之媒體擷取作業的錄製持續時間。

public ref class MediaCaptureStopResult 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 MediaCaptureStopResult 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 MediaCaptureStopResult : System.IDisposable
Public NotInheritable Class MediaCaptureStopResult
Implements IDisposable
繼承
Object Platform::Object IInspectable MediaCaptureStopResult
屬性
實作

Windows 需求

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

備註

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

如需處理暫停或停止視訊錄製結果的操作指引,請參閱 使用 MediaCapture 進行基本相片、視訊和音訊擷取

屬性

LastFrame

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

RecordDuration

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

方法

Close()

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

Dispose()

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

適用於

另請參閱