CameraPreviewImageSource.StopPreviewAsync Method

Stops the preview.

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

function StopPreviewAsync();

Return Value

Type: IAsyncAction
An async action, which completes when the stop preview is done.

Lumia Imaging SDK

Supported in: 3.0, 2.0
Show: