Share via


CameraPreviewImageSource.StartPreviewAsync Method

Starts preview using default settings. InitializeAsync must be called before StartPreview is called.

When app is suspended the CameraPreviewImageSource must be stopped by calling StopPreviewAsync. When the app is resumed the CameraPreviewImageSource must be restarted by calling InitializeAsync followed by StartPreviewAsync.

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

Syntax

public IAsyncOperation StartPreviewAsync()
'Declaration
Public Function StartPreviewAsync As IAsyncOperation
public:
virtual IAsyncOperation^ StartPreviewAsync() sealed
function StartPreviewAsync();

Return Value

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

Version Information

Lumia Imaging SDK

Supported in: 3.0, 2.0

See Also

CameraPreviewImageSource Class

CameraPreviewImageSource.CameraPreviewImageSource Members

StartPreviewAsync Overload

Lumia.Imaging Namespace