CameraPreviewImageSource.StartPreviewAsync Method (VideoEncodingProperties)

Starts preview using the video encoding properties. Supported subtype is YUY2 and NV12 InitializeAsync must be called before StartPreview is called.

Namespace: Lumia.Imaging
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255

function StartPreviewAsync(videoEncodingProperties);

Parameters

videoEncodingProperties
Type: Windows.Media.MediaProperties.VideoEncodingProperties
Sets the framerate and resolution the preview will be rendered.

Return Value

Type: IAsyncOperation<VideoEncodingProperties>
An async action, which completes when the preview is running.

Lumia Imaging SDK

Supported in: 2.0
Show: