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:

function StartPreviewAsync(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