PhotoCaptureDevice.CreateCaptureSequence method

Creates a capture sequence object.

Syntax

public CameraCaptureSequence CreateCaptureSequence(
  uint numberOfFrames
)
Public Function CreateCaptureSequence(
  numberOfFrames As UInteger 
) As CameraCaptureSequence
public:
CameraCaptureSequence^ CreateCaptureSequence(
  unsigned int numberOfFrames
)

Parameters

  • numberOfFrames
    Type: System.UInt32 [.NET] | uint32 [C++]

    The number of frames in the capture sequence.

Return value

Type: CameraCaptureSequence

The new CameraCaptureSequence object.

Remarks

Note  In this release, the CameraCaptureSequence class supports only single-frame capture. As a result, you must specify a single frame when you call this method.

 

Before you can start a capture with StartCaptureAsync, you must call the PrepareCaptureSequenceAsync method. This method prepares the camera for capturing frames according to the known camera properties specified in DesiredProperties.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.Media.Capture Windows::Phone::Media::Capture [C++]

Metadata

Windows.WinMD

Capabilities

ID_CAP_ISV_CAMERA [Windows Phone]

Attributes

[Deprecated()]

See also

PhotoCaptureDevice