VariablePhotoSequenceCapture 類別

定義

提供可擷取可變相片序列的方法和事件。

public ref class VariablePhotoSequenceCapture sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
class VariablePhotoSequenceCapture final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
public sealed class VariablePhotoSequenceCapture
Public NotInheritable Class VariablePhotoSequenceCapture
繼承
Object Platform::Object IInspectable VariablePhotoSequenceCapture
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

呼叫 MediaCapture.PrepareVariablePhotoSequenceCaptureAsync 方法來取得這個類別的實例。

啟動可變相片序列擷取之後,您必須先呼叫 StopAsync 來 停止可變相片序列擷取,然後應用程式嘗試使用 MediaCapture 物件錄製視訊。

如需使用 VariablePhotoSequenceCapture的作法指引,請參閱 使用 VariablePhotoSequence 擷取相片序列

方法

FinishAsync()

以非同步方式釋放擷取作業所使用的 VariablePhotoSequenceCapture 物件和資源。

StartAsync()

開始擷取可變相片序列畫面格。

StopAsync()

停止擷取可變相片序列畫面格。

UpdateSettingsAsync()

更新可變相片序列的畫面控制項值。

事件

PhotoCaptured

發生于擷取可變相片序列的框架時。

Stopped

VariablePhotoSequenceCapture 物件停止擷取可變相片序列的畫面時發生。

適用於

另請參閱